wok-current diff ocsreports/receipt @ rev 21675

updated pflogsumm (1.1.3 -> 1.1.5)
author Hans-G?nter Theisgen
date Sat Jun 01 16:52:31 2019 +0100 (2019-06-01)
parents 9e01bc6321ea
children cea6e929d21e
line diff
     1.1 --- a/ocsreports/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.2 +++ b/ocsreports/receipt	Sat Jun 01 16:52:31 2019 +0100
     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