wok diff nconf/receipt @ rev 24299
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 15 15:21:40 2022 +0000 (2022-01-15) |
parents | 9e01bc6321ea |
children | afae00265386 |
line diff
1.1 --- a/nconf/receipt Sun Dec 20 15:13:45 2015 +0100 1.2 +++ b/nconf/receipt Sat Jan 15 15:21:40 2022 +0000 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.