]> gitweb.fluxo.info Git - puppet-drupal.git/commitdiff
Copy robots.txt on upgrades
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 27 Apr 2016 13:56:59 +0000 (10:56 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 27 Apr 2016 13:56:59 +0000 (10:56 -0300)
files/drupal

index 8b69c842070ccbe343fb7d79751c41b9e7fee7c5..0570be4a4deb4ef7570ae0bd15f31d769c3da241 100755 (executable)
@@ -199,7 +199,7 @@ function drupal_upgrade {
   cd $BASE/drupal-$new
 
   # Copy files
-  for file in .htaccess sites; do
+  for file in .htaccess robots.txt sites; do
     if [ ! -h "../drupal-$old/$file" ]; then
       cp -a ../drupal-$old/$file . &> /dev/null
     else