wok-current diff ocsreports/receipt @ rev 20327
tor: fix the warning from configure
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed May 23 15:43:26 2018 +0000 (2018-05-23) |
parents | 9e01bc6321ea |
children | cea6e929d21e |
line diff
1.1 --- a/ocsreports/receipt Sun Dec 20 15:13:45 2015 +0100 1.2 +++ b/ocsreports/receipt Wed May 23 15:43:26 2018 +0000 1.3 @@ -68,11 +68,13 @@ 1.4 # Configure every thing for ocsweb. 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 -Be 'show databases' | grep -q ocsweb ); then 1.13 + echo 1.14 echo -n "Create $PACKAGE database and schema" 1.15 mysql -Be "create database ocsweb CHARACTER SET utf8 COLLATE utf8_bin" ; status 1.16 mysql -s -u root ocsweb < /usr/share/$PACKAGE/files/ocsbase_new.sql > /dev/null 2>&1