wok-next diff nconf/receipt @ rev 19759

Up cpufrequtils, dhcp, dhcp6, fontforge, glibc, libspiro, libuninameslist, slitaz-i18n, ttf-dejavu, ttf-roboto, tzdata, ucl.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jun 09 22:24:52 2017 +0300 (2017-06-09)
parents 1067bb7f1e24
children d5aab818505e
line diff
     1.1 --- a/nconf/receipt	Wed Dec 16 15:49:50 2015 +0100
     1.2 +++ b/nconf/receipt	Fri Jun 09 22:24:52 2017 +0300
     1.3 @@ -68,7 +68,7 @@
     1.4  	local sql_script='/var/lib/nconf/INSTALL/create_database.sql'
     1.5  	
     1.6  	# Minimal config for NConf.
     1.7 -	if [ -z $1 ]; then
     1.8 +	if [ -z "$1" ]; then
     1.9  		if ( ! mysqladmin -s ping > /dev/null ); then
    1.10  			echo "Starting MySQL server"
    1.11  			( /etc/init.d/mysql start ; status  ) || exit 
    1.12 @@ -92,7 +92,7 @@
    1.13  
    1.14  post_remove()
    1.15  {
    1.16 -	if [ -z $1 ]; then
    1.17 +	if [ -z "$1" ]; then
    1.18  		local db=nconf
    1.19  		local db_user=nconf
    1.20  		local db_password=nconf