wok diff ocsinventory-server/receipt @ rev 19068

conky-theme-onsea: take care on root in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 21 22:04:50 2016 +0200 (2016-04-21)
parents 600aaedb561d
children 970c5ec9a60a
line diff
     1.1 --- a/ocsinventory-server/receipt	Mon Dec 02 19:18:04 2013 +0000
     1.2 +++ b/ocsinventory-server/receipt	Thu Apr 21 22:04:50 2016 +0200
     1.3 @@ -57,7 +57,7 @@
     1.4  
     1.5  post_install()
     1.6  {
     1.7 -	if [ -z $1 ]; then
     1.8 +	if [ -z "$1" ]; then
     1.9  		echo "Now you can connect to http://$(hostname)/ocsreports"
    1.10  		# Restart Apache if is running
    1.11  		[ -f /var/run/apache/httpd.pid ] && /etc/init.d/apache reload