From 8285f5e8b090a55e0c23dfdbaab5d98274e77604 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 9 Jul 2018 13:51:49 -0300 Subject: Copy libraries on drupal upgrade --- files/drupal | 5 +++-- 1 file 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 -- cgit v1.2.3