diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-05-21 12:12:15 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-05-21 12:12:15 -0300 |
commit | aa0f7945678e5ff46de5ef8953f6b393f6969d47 (patch) | |
tree | ca9f7d92435f2e753f0d86c5076f0f9b31250c7e /files | |
parent | 7b2141c09ad31a26d38432f2fe2577ca1f70fd62 (diff) | |
download | puppet-drupal-aa0f7945678e5ff46de5ef8953f6b393f6969d47.tar.gz puppet-drupal-aa0f7945678e5ff46de5ef8953f6b393f6969d47.tar.bz2 |
Do not keep .htaccess and robots.txt on upgrades
Diffstat (limited to 'files')
-rwxr-xr-x | files/drupal | 2 |
1 files changed, 1 insertions, 1 deletions
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 |