aboutsummaryrefslogtreecommitdiff
path: root/templates/drupal.sh.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/drupal.sh.erb')
-rw-r--r--templates/drupal.sh.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb
index 35bfca4..665dea2 100644
--- a/templates/drupal.sh.erb
+++ b/templates/drupal.sh.erb
@@ -341,7 +341,7 @@ function drupal_install {
fi
echo "Creating $SITES/$site/drupal/ structure..."
- mkdir -p $SITES/$site/drupal/files
+ mkdir -p $SITES/$site/drupal/{files,themes,modules,libraries}
echo "Copying default configuration file..."
cp $BASE/drupal-$series/sites/default/default.settings.php $SITES/$site/drupal/settings.php
@@ -395,10 +395,10 @@ EOF
# Fix permissions
if grep -qe "^$site:" /etc/passwd; then
chown root.$site $SITES/$site/drupal/settings.php
- chown $site.$site $SITES/$site/drupal/files
+ chown $site.$site $SITES/$site/drupal/{files,themes,modules,libraries}
else
chown root.www-data $SITES/$site/drupal/settings.php
- chown www-data.www-data $SITES/$site/drupal/files
+ chown www-data.www-data $SITES/$site/drupal/{files,themes,modules,libraries}
fi
if [ "$series" == "6" ]; then