From 65ce0863affe34a46ca96b12c38d72623bc9f9ba Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Thu, 23 Aug 2007 08:25:45 +0000 Subject: [PATCH] suivi du conseil d'anarcat dans #1013 --- install/alternc.install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/alternc.install b/install/alternc.install index 7116c263..db8b1a36 100644 --- a/install/alternc.install +++ b/install/alternc.install @@ -155,10 +155,10 @@ tar -zcf "$INSTALLED_CONFIG_TAR" -C / $CONFIG_FILES ###################################################################### # Initialize database # -#if [ -e /usr/sbin/mysqld ]; then +if [ "$MYSQL_HOST" != "localhost" -o -e /usr/sbin/mysqld ]; then echo "Setup MySQL and database..." /usr/share/alternc/install/mysql.sh "$MYSQL_HOST" "$MYSQL_USER" "$MYSQL_PASS" "$MYSQL_DATABASE" -#fi +fi ######################################################################## # Ad-hoc fixes