From 7b2141c09ad31a26d38432f2fe2577ca1f70fd62 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 27 Apr 2016 10:56:59 -0300 Subject: Copy robots.txt on upgrades --- files/drupal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3