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
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