From a00912d6e1868c846b6104fbb88ee5fc401277d6 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 22 Apr 2013 11:22:31 -0300 Subject: Install: create themes, modules and libraries --- templates/drupal.sh.erb | 6 +++--- 1 file 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 -- cgit v1.2.3