# HG changeset patch # User Christopher Rogers # Date 1370068814 0 # Node ID ea4381b83496d8234cb85759dd2d2dc9cc14e704 # Parent 95ba0f0bb955f4563dd2706bd93eb6322c336795 Up: php to 5.4.13. diff -r 95ba0f0bb955 -r ea4381b83496 php-apache/receipt --- a/php-apache/receipt Sat Jun 01 06:36:55 2013 +0000 +++ b/php-apache/receipt Sat Jun 01 06:40:14 2013 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="php-apache" -VERSION="5.4.4" +VERSION="5.4.13" CATEGORY="development" SHORT_DESC="PHP module for apache." MAINTAINER="pascal.bellard@slitaz.org" @@ -14,7 +14,7 @@ genpkg_rules() { mkdir -p $fs/usr/share - cp -a $_pkg/usr/share/apache $fs/usr/share + cp -a $install/usr/share/apache $fs/usr/share } # Post and pre install commans to stop diff -r 95ba0f0bb955 -r ea4381b83496 php-cli/receipt --- a/php-cli/receipt Sat Jun 01 06:36:55 2013 +0000 +++ b/php-cli/receipt Sat Jun 01 06:40:14 2013 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="php-cli" -VERSION="5.4.4" +VERSION="5.4.13" CATEGORY="development" SHORT_DESC="PHP web programming language command line interpreter." MAINTAINER="pascal.bellard@slitaz.org" @@ -13,5 +13,5 @@ genpkg_rules() { mkdir -p $fs/usr/bin - cp -a $_pkg/usr/bin/php $fs/usr/bin + cp -a $install/usr/bin/php $fs/usr/bin } diff -r 95ba0f0bb955 -r ea4381b83496 php-common/receipt --- a/php-common/receipt Sat Jun 01 06:36:55 2013 +0000 +++ b/php-common/receipt Sat Jun 01 06:40:14 2013 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="php-common" -VERSION="5.4.4" +VERSION="5.4.13" CATEGORY="development" SHORT_DESC="Common files for PHP modules." MAINTAINER="pascal.bellard@slitaz.org" diff -r 95ba0f0bb955 -r ea4381b83496 php-curl/receipt --- a/php-curl/receipt Sat Jun 01 06:36:55 2013 +0000 +++ b/php-curl/receipt Sat Jun 01 06:40:14 2013 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="php-curl" -VERSION="5.4.4" +VERSION="5.4.13" CATEGORY="development" SHORT_DESC="curl module for PHP web programming language." MAINTAINER="jozee@slitaz.org" @@ -13,7 +13,7 @@ genpkg_rules() { mkdir -p $fs/usr/share/php - cp $(find $_pkg | grep curl.so) $fs/usr/share/php/ + cp $(find $install | grep curl.so) $fs/usr/share/php/ } # Post and pre install commans to stop @@ -57,9 +57,12 @@ # Start Web server. while read daemon file; do - if [ -f /etc/init.d/$daemon -a -f "/var/run/$file" ]; then + [ -z "$1" ] || continue + if [ -f "/var/run/$file" ]; then /etc/init.d/$daemon stop sleep 2 + fi + if [ -f /etc/init.d/$daemon ]; then /etc/init.d/$daemon start fi done <