wok-6.x diff nconf/receipt @ rev 22825
Up rage (0.3.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 07 12:27:53 2020 +0100 (2020-02-07) |
parents | 9e01bc6321ea |
children | afae00265386 |
line diff
1.1 --- a/nconf/receipt Sun Dec 20 15:13:45 2015 +0100 1.2 +++ b/nconf/receipt Fri Feb 07 12:27:53 2020 +0100 1.3 @@ -70,11 +70,13 @@ 1.4 # Minimal config for NConf. 1.5 if [ -z "$1" ]; then 1.6 if ( ! mysqladmin -s ping > /dev/null ); then 1.7 + echo 1.8 echo "Starting MySQL server" 1.9 ( /etc/init.d/mysql start ; status ) || exit 1.10 sleep 4 #let the mysql daemon start 1.11 fi 1.12 if ( ! mysql -u root -Be 'show databases' | grep -q $db ); then 1.13 + echo 1.14 echo -n "Create $db database" 1.15 mysql -Be "create database $db" ; status 1.16 # We suppose that $DB_USER user does not exist.