wok diff nconf/receipt @ rev 20651
Up dietlibc (0.34), musl-libc (1.1.20)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 13 10:11:20 2019 +0100 (2019-01-13) |
parents | 9e01bc6321ea |
children | afae00265386 |
line diff
1.1 --- a/nconf/receipt Sun Dec 20 15:13:45 2015 +0100 1.2 +++ b/nconf/receipt Sun Jan 13 10:11:20 2019 +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.