aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-04-27 10:56:59 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-04-27 10:56:59 -0300
commit7b2141c09ad31a26d38432f2fe2577ca1f70fd62 (patch)
tree4f3c0eb06105d93f8465b6ce206208599db833e2
parent8e829db825d8bbf3998e0066ab4dcd504d53ea8d (diff)
downloadpuppet-drupal-7b2141c09ad31a26d38432f2fe2577ca1f70fd62.tar.gz
puppet-drupal-7b2141c09ad31a26d38432f2fe2577ca1f70fd62.tar.bz2
Copy robots.txt on upgrades
-rwxr-xr-xfiles/drupal2
1 files changed, 1 insertions, 1 deletions
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