aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-07-09 13:51:49 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-07-09 13:51:49 -0300
commit8285f5e8b090a55e0c23dfdbaab5d98274e77604 (patch)
tree9b93e4368265cdfa42fd9a4780a5c9acb609f8e2
parent4eb96f1bca96a58c7d07a38cfde3614441963401 (diff)
downloadpuppet-drupal-8285f5e8b090a55e0c23dfdbaab5d98274e77604.tar.gz
puppet-drupal-8285f5e8b090a55e0c23dfdbaab5d98274e77604.tar.bz2
Copy libraries on drupal upgrade
-rwxr-xr-xfiles/drupal5
1 files changed, 3 insertions, 2 deletions
diff --git a/files/drupal b/files/drupal
index 50b0fcc..4a51fda 100755
--- a/files/drupal
+++ b/files/drupal
@@ -295,8 +295,9 @@ function drupal_upgrade {
# Copy installation themes and modules for Drupal 8 or newer
if [ "$new_major" != "5" ] && [ "$new_major" != "6" ] && [ "$new_major" != "7" ]; then
- rsync -av ../drupal-$old/modules/ modules/
- rsync -av ../drupal-$old/themes/ themes/
+ rsync -av ../drupal-$old/modules/ modules/
+ rsync -av ../drupal-$old/themes/ themes/
+ rsync -av ../drupal-$old/libraries/ libraries/
fi
# Change symlink to point to the new location