wok-6.x diff php-mysqli/receipt @ rev 14718

lib[s-z]*: add LICENSE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 11 11:57:36 2013 +0200 (2013-06-11)
parents 855f42b596c0
children 78cb1e930abd
line diff
     1.1 --- a/php-mysqli/receipt	Mon Jun 18 22:11:42 2012 +0200
     1.2 +++ b/php-mysqli/receipt	Tue Jun 11 11:57:36 2013 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="php-mysqli"
     1.7 -VERSION="5.4.4"
     1.8 +VERSION="5.4.13"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="mysqli module for PHP web programming language."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -57,9 +57,12 @@
    1.13  
    1.14  	# Start Web server.
    1.15  	while read daemon file; do
    1.16 -		if [ -f /etc/init.d/$daemon -a -f "/var/run/$file" ]; then
    1.17 +		[ -z "$1" ] || continue
    1.18 +		if [ -f "/var/run/$file" ]; then
    1.19  			/etc/init.d/$daemon stop
    1.20  			sleep 2
    1.21 +		fi
    1.22 +		if [ -f /etc/init.d/$daemon ]; then
    1.23  			/etc/init.d/$daemon start
    1.24  		fi
    1.25  	done <<EOT