From 3ed5181cca9ff54a4678d740a46ea6643767a347 Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Fri, 29 Feb 2008 18:46:49 +0000 Subject: [PATCH] cleanups and syntax fix --- drupal/drupal-setup.sh | 2 +- drupal/drupal.spec | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drupal/drupal-setup.sh b/drupal/drupal-setup.sh index 10afacb9c0..b89e16b308 100644 --- a/drupal/drupal-setup.sh +++ b/drupal/drupal-setup.sh @@ -64,7 +64,7 @@ case "$cmd" in ;; uninstall ) # remove the database - elif [ ".$db_type" = .mysql ]; then + if [ ".$db_type" = .mysql ]; then ( echo "DROP DATABASE $db_name;" ) | @l_prefix@/bin/mysql --user="$db_suser" --password="$db_spass" "$db_sname" elif [ ".$db_type" = .pgsql ]; then diff --git a/drupal/drupal.spec b/drupal/drupal.spec index 93cba2c5ca..f9ab057744 100644 --- a/drupal/drupal.spec +++ b/drupal/drupal.spec @@ -915,9 +915,9 @@ AutoReqProv: no %endif echo " \$ $RPM_INSTALL_PREFIX/sbin/drupal-setup install" echo "" - echo "2. Now Drupal by running" + echo "2. Now start Drupal by running the command" echo " \$ $RPM_INSTALL_PREFIX/bin/openpkg rc drupal start" - echo " and connect with a browser to:" + echo " and connect with a browser to the URL:" echo " http://127.0.0.1:8080/drupal/install.php" echo " Follow the instructions. On the page \"Database configuration\"" echo " use database name \"drupal\", database username \"drupal\" and"