aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-01-19 11:43:55 -0200
committerSilvio Rhatto <rhatto@riseup.net>2012-01-19 11:43:55 -0200
commit08d832bd1b105c6ac307ab546f7b1048aa8b325b (patch)
tree66a0a8cbeefcd07bbc479efeb4db61d9c7b1ec6f /templates
parent1fd17a98d05c82c61facc0ae028f8a42075fb49a (diff)
downloadpuppet-drupal-08d832bd1b105c6ac307ab546f7b1048aa8b325b.tar.gz
puppet-drupal-08d832bd1b105c6ac307ab546f7b1048aa8b325b.tar.bz2
Adding makefiles for themes
Diffstat (limited to 'templates')
-rw-r--r--templates/drupal.sh.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb
index 77bc472..d95844d 100644
--- a/templates/drupal.sh.erb
+++ b/templates/drupal.sh.erb
@@ -211,6 +211,7 @@ function drupal_make {
series="$1"
base="$BASE/drupal-$series"
makefile="/usr/local/share/drupal/drupal$series.make"
+ makefile_themes="/usr/local/share/drupal/themes$series.make"
if [ -e "$makefile" ]; then
if [ ! -e "$base" ]; then
@@ -219,6 +220,7 @@ function drupal_make {
fi
drush dl drush_make
( cd $base && drush make -y --no-core $makefile )
+ ( cd $base && drush make -y --no-core $makefile_themes )
else
echo "Makefile not found: $makefile"
exit 1