wok-current diff php-curl/receipt @ rev 14945

Up: edje (1.7.8)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 19:15:50 2013 +0200 (2013-08-08)
parents 855f42b596c0
children 78cb1e930abd
line diff
     1.1 --- a/php-curl/receipt	Mon Jun 18 22:11:42 2012 +0200
     1.2 +++ b/php-curl/receipt	Thu Aug 08 19:15:50 2013 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="php-curl"
     1.7 -VERSION="5.4.4"
     1.8 +VERSION="5.4.13"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="curl module for PHP web programming language."
    1.11  MAINTAINER="jozee@slitaz.org"
    1.12 @@ -13,7 +13,7 @@
    1.13  genpkg_rules()
    1.14  {
    1.15  	mkdir -p $fs/usr/share/php
    1.16 -	cp $(find $_pkg | grep curl.so) $fs/usr/share/php/
    1.17 +	cp $(find $install | grep curl.so) $fs/usr/share/php/
    1.18  }
    1.19  
    1.20  # Post and pre install commans to stop
    1.21 @@ -57,9 +57,12 @@
    1.22  
    1.23  	# Start Web server.
    1.24  	while read daemon file; do
    1.25 -		if [ -f /etc/init.d/$daemon -a -f "/var/run/$file" ]; then
    1.26 +		[ -z "$1" ] || continue
    1.27 +		if [ -f "/var/run/$file" ]; then
    1.28  			/etc/init.d/$daemon stop
    1.29  			sleep 2
    1.30 +		fi
    1.31 +		if [ -f /etc/init.d/$daemon ]; then
    1.32  			/etc/init.d/$daemon start
    1.33  		fi
    1.34  	done <<EOT