wok diff ocsreports/receipt @ rev 23367

updated perl-math-round (0.06 -> 0.07)
author Hans-G?nter Theisgen
date Tue Mar 31 13:15:04 2020 +0100 (2020-03-31)
parents 9e01bc6321ea
children cea6e929d21e
line diff
     1.1 --- a/ocsreports/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.2 +++ b/ocsreports/receipt	Tue Mar 31 13:15:04 2020 +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