aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/drupal.sh.erb16
1 files changed, 9 insertions, 7 deletions
diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb
index e3d9c25..35bfca4 100644
--- a/templates/drupal.sh.erb
+++ b/templates/drupal.sh.erb
@@ -320,13 +320,15 @@ function drupal_install {
# Other parameters
domain="`facter domain`"
- # Installation parameters
- drupal_user_input name "$site" "Site name"
- drupal_user_input site_email "$site@$domain" "Site email"
- drupal_user_input profile "standard" "Installation profile"
- drupal_user_input locale "pt-br" "Installation language"
- drupal_user_input admin "$site" "Admin user"
- drupal_user_input admin_email "$admin@$domain" "Admin email"
+ if [ "$series" != "6" ]; then
+ # Installation parameters
+ drupal_user_input name "$site" "Site name"
+ drupal_user_input site_email "$site@$domain" "Site email"
+ drupal_user_input profile "standard" "Installation profile"
+ drupal_user_input locale "pt-br" "Installation language"
+ drupal_user_input admin "$site" "Admin user"
+ drupal_user_input admin_email "$admin@$domain" "Admin email"
+ fi
if [ -e "$BASE/drupal-$series/sites/$site" ]; then
echo "Drupal $site already installed at $BASE/drupal-$series"