wok-next diff wordpress/receipt @ rev 19583

Up: cookutils, tazpkg, aufs, kmod, lguest, linux, linux64.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jan 02 07:42:47 2017 +0200 (2017-01-02)
parents 2a21689b0af7
children 1eb4aacb48ed
line diff
     1.1 --- a/wordpress/receipt	Thu Oct 03 09:52:57 2013 +0000
     1.2 +++ b/wordpress/receipt	Mon Jan 02 07:42:47 2017 +0200
     1.3 @@ -28,7 +28,7 @@
     1.4  	local db_password=wordpress
     1.5  	
     1.6  	# Minimal config for wordpress.
     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 @@ -56,7 +56,7 @@
    1.13  	local db_user=wordpress
    1.14  	local db_password=wordpress
    1.15  	
    1.16 -	if [ -z $1 ]; then
    1.17 +	if [ -z "$1" ]; then
    1.18  		echo -n "Would you like to remove data and database files.(y/n) "
    1.19  		read answer
    1.20