]> gitweb.fluxo.info Git - puppet-drupal.git/commitdiff
Drupal script: support for modules that need stuff in the root folder
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 29 Nov 2011 00:43:19 +0000 (22:43 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 29 Nov 2011 00:43:19 +0000 (22:43 -0200)
templates/drupal.sh.erb

index 8ac6b9e74996aa43359e55b860cbed73a817c4a8..123416db723ef7f94373ff17572d7ff1482883cb 100644 (file)
@@ -184,6 +184,11 @@ function drupal_upgrade {
   if [ -e "../drupal-$old/sites/all/modules/image/image.imagemagick.inc" ]; then
     cp ../drupal-$old/sites/all/modules/image/image.imagemagick.inc includes/
   fi
+
+  # Modules that need stuff in the root folder
+  if [ -d "sites/all/modules/chatroom" ]; then
+    ln -s sites/all/modules/chatroom/chatroomread.php
+  fi
   
   # Change symlink to point to the new location
   cd $BASE ; rm -rf drupal-$drupal_series && ln -s drupal-$new drupal-$drupal_series