wok-current diff php-pdo-mysql/receipt @ rev 14691
python-edbus-dev: Up to 1.7.0-3
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Jun 06 22:09:29 2013 +0200 (2013-06-06) |
parents | 855f42b596c0 |
children | 78cb1e930abd |
line diff
1.1 --- a/php-pdo-mysql/receipt Mon Jun 18 22:11:42 2012 +0200 1.2 +++ b/php-pdo-mysql/receipt Thu Jun 06 22:09:29 2013 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="php-pdo-mysql" 1.7 -VERSION="5.4.4" 1.8 +VERSION="5.4.13" 1.9 CATEGORY="development" 1.10 SHORT_DESC="PDO MySQL module for PHP web programming language." 1.11 MAINTAINER="pascal.bellard@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 pdo_mysql.so) $fs/usr/share/php/ 1.17 + cp $(find $install | grep pdo_mysql.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 [ -z "$1" -a -f "/var/run/$file" ]; then 1.28 /etc/init.d/$daemon stop 1.29 sleep 2 1.30 + fi 1.31 + if [ -z "$1" -a -f /etc/init.d/$daemon ]; then 1.32 /etc/init.d/$daemon start 1.33 fi 1.34 done <<EOT