diff --git a/conf/robots.txt b/conf/robots.txt new file mode 100755 index 0000000..1f53798 --- /dev/null +++ b/conf/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: / diff --git a/scripts/install b/scripts/install index d8a3156..d87d76f 100755 --- a/scripts/install +++ b/scripts/install @@ -63,6 +63,7 @@ sed -i "s@CALIBRETOCHANGE@$calibrepath@g" ../sources/config_local.php timezone=`sudo cat /etc/timezone`; sed -i "s@TIMEZONETOCHANGE@$timezone@g" ../sources/config_local.php +sudo cp ../conf/robots.txt ../sources/ # To be done : make it an if loop diff --git a/scripts/upgrade b/scripts/upgrade index 4866ef0..746e971 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -78,6 +78,8 @@ sed -i "s@CALIBRETOCHANGE@$calibrepath@g" ../sources/config_local.php timezone=`sudo cat /etc/timezone`; sed -i "s@TIMEZONETOCHANGE@$timezone@g" ../sources/config_local.php +sudo cp ../conf/robots.txt ../sources/ + # Base site sudo cp -a ../sources/* $final_path/