]> gitweb.fluxo.info Git - puppet-drupal.git/commitdiff
Do not keep .htaccess and robots.txt on upgrades
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 21 May 2016 15:12:15 +0000 (12:12 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 21 May 2016 15:12:15 +0000 (12:12 -0300)
files/drupal

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