From: Silvio Rhatto Date: Tue, 29 Nov 2011 00:43:19 +0000 (-0200) Subject: Drupal script: support for modules that need stuff in the root folder X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=445d5e1026bb2fec4bf9c617837485dbd0435bff;p=puppet-drupal.git Drupal script: support for modules that need stuff in the root folder --- diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb index 8ac6b9e..123416d 100644 --- a/templates/drupal.sh.erb +++ b/templates/drupal.sh.erb @@ -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