aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-11-28 22:43:19 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-11-28 22:43:19 -0200
commit445d5e1026bb2fec4bf9c617837485dbd0435bff (patch)
treeee1bd83bfe8e296c66f3d03d5a374afbd9d654e6
parent16c977ea7350aabeec5b3459f73aaf75e68ce1e8 (diff)
downloadpuppet-drupal-445d5e1026bb2fec4bf9c617837485dbd0435bff.tar.gz
puppet-drupal-445d5e1026bb2fec4bf9c617837485dbd0435bff.tar.bz2
Drupal script: support for modules that need stuff in the root folder
-rw-r--r--templates/drupal.sh.erb5
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