From: Silvio Rhatto Date: Wed, 27 Apr 2016 13:56:59 +0000 (-0300) Subject: Copy robots.txt on upgrades X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=7b2141c09ad31a26d38432f2fe2577ca1f70fd62;p=puppet-drupal.git Copy robots.txt on upgrades --- diff --git a/files/drupal b/files/drupal index 8b69c84..0570be4 100755 --- a/files/drupal +++ b/files/drupal @@ -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