diff options
-rw-r--r-- | templates/drupal.sh.erb | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb index d10658a..e3d9c25 100644 --- a/templates/drupal.sh.erb +++ b/templates/drupal.sh.erb @@ -381,12 +381,14 @@ EOF fi fi - ( - echo "Installing drupal $series for $site using $profile profile..." - cd $BASE/drupal-$series/ - drush site-install $profile --site-name="$name" --site-mail="$site_email" --locale=$locale \ - --uri="$site" --sites-subdir="$site" --account-name="$admin" --account-mail="$admin_email" - ) + if [ "$series" != "6" ]; then + ( + echo "Installing drupal $series for $site using $profile profile..." + cd $BASE/drupal-$series/ + drush site-install $profile --site-name="$name" --site-mail="$site_email" --locale=$locale \ + --uri="$site" --sites-subdir="$site" --account-name="$admin" --account-mail="$admin_email" + ) + fi # Fix permissions if grep -qe "^$site:" /etc/passwd; then @@ -397,7 +399,11 @@ EOF chown www-data.www-data $SITES/$site/drupal/files fi - echo "Done. Please check your installation." + if [ "$series" == "6" ]; then + echo "Now please access http://$site.$domain/install.php to continue with the installation." + else + echo "Done. Please check your installation." + fi } # Main procedure |