wok diff php-odbc/receipt @ rev 15164
Up xorg-xf86-input-void (1.4.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 18:48:58 2013 +0000 (2013-08-15) |
parents | 855f42b596c0 |
children | 78cb1e930abd |
line diff
1.1 --- a/php-odbc/receipt Mon Jun 18 22:11:42 2012 +0200 1.2 +++ b/php-odbc/receipt Thu Aug 15 18:48:58 2013 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="php-odbc" 1.7 -VERSION="5.4.4" 1.8 +VERSION="5.4.13" 1.9 CATEGORY="development" 1.10 SHORT_DESC="ODBC 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 odbc.so) $fs/usr/share/php/ 1.17 + cp $(find $install | grep odbc.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