diff options
-rw-r--r-- | templates/drupal.sh.erb | 5 |
1 files changed, 5 insertions, 0 deletions
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 |