wok diff ocsreports/receipt @ rev 22916
claws-mail: added build dependency libgnutls
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 24 13:45:59 2020 +0100 (2020-02-24) |
parents | 9e01bc6321ea |
children | cea6e929d21e |
line diff
1.1 --- a/ocsreports/receipt Sun Dec 20 15:13:45 2015 +0100 1.2 +++ b/ocsreports/receipt Mon Feb 24 13:45:59 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