From aa0f7945678e5ff46de5ef8953f6b393f6969d47 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 21 May 2016 12:12:15 -0300 Subject: Do not keep .htaccess and robots.txt on upgrades --- files/drupal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3