From 445d5e1026bb2fec4bf9c617837485dbd0435bff Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 28 Nov 2011 22:43:19 -0200 Subject: Drupal script: support for modules that need stuff in the root folder --- templates/drupal.sh.erb | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3