wok-6.x diff php-dba/receipt @ rev 15007
connman: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 11 10:21:02 2013 +0000 (2013-08-11) |
parents | 855f42b596c0 |
children | 78cb1e930abd |
line diff
1.1 --- a/php-dba/receipt Mon Jun 18 22:11:42 2012 +0200 1.2 +++ b/php-dba/receipt Sun Aug 11 10:21:02 2013 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="php-dba" 1.7 -VERSION="5.4.4" 1.8 +VERSION="5.4.13" 1.9 CATEGORY="development" 1.10 SHORT_DESC="dba module for PHP web programming language." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -12,7 +12,7 @@ 1.13 genpkg_rules() 1.14 { 1.15 mkdir -p $fs/usr/share/php 1.16 - cp $(find $_pkg | grep dba.so) $fs/usr/share/php/ 1.17 + cp $(find $install | grep dba.so) $fs/usr/share/php/ 1.18 } 1.19 1.20 # Post and pre install commans to stop 1.21 @@ -56,9 +56,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