From: Silvio Rhatto Date: Sat, 21 May 2016 15:12:15 +0000 (-0300) Subject: Do not keep .htaccess and robots.txt on upgrades X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=aa0f7945678e5ff46de5ef8953f6b393f6969d47;p=puppet-drupal.git Do not keep .htaccess and robots.txt on upgrades --- diff --git a/files/drupal b/files/drupal index 0570be4..e2a0c2a 100755 --- a/files/drupal +++ b/files/drupal @@ -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