]> gitweb.fluxo.info Git - puppet-drupal.git/commitdiff
Copy libraries on drupal upgrade
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 9 Jul 2018 16:51:49 +0000 (13:51 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 9 Jul 2018 16:51:49 +0000 (13:51 -0300)
files/drupal

index 50b0fccc55ea11f944fc84414a61d5752c1e3bb9..4a51fda23b3f9bc3b950fabcb081229d699eaa38 100755 (executable)
@@ -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