wok-6.x rev 1833

php-*: fix post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 10 17:20:52 2008 +0000 (2008-12-10)
parents 8c915f662395
children ca15fff92039
files php-cups/receipt php-gd/receipt php-imap/receipt php-ldap/receipt php-mhash/receipt php-mysql/receipt php-pgsql/receipt
line diff
     1.1 --- a/php-cups/receipt	Wed Dec 10 17:18:05 2008 +0000
     1.2 +++ b/php-cups/receipt	Wed Dec 10 17:20:52 2008 +0000
     1.3 @@ -32,7 +32,7 @@
     1.4  
     1.5  post_install()
     1.6  {
     1.7 -	grep -q ^extension=msql.so $1/etc/php.ini || \
     1.8 +	grep -q ^extension=cups.so $1/etc/php.ini || \
     1.9  	    sed -e 's|;.*extension=msql.so|;   extension=msql.so\nextension=cups.so|' -i $1/etc/php.ini
    1.10  	# Start Web server.
    1.11  	while read daemon file; do
     2.1 --- a/php-gd/receipt	Wed Dec 10 17:18:05 2008 +0000
     2.2 +++ b/php-gd/receipt	Wed Dec 10 17:20:52 2008 +0000
     2.3 @@ -32,7 +32,7 @@
     2.4  
     2.5  post_install()
     2.6  {
     2.7 -	grep -q ^extension=msql.so $1/etc/php.ini || \
     2.8 +	grep -q ^extension=gd.so $1/etc/php.ini || \
     2.9  	    sed -e 's|;.*extension=msql.so|;   extension=msql.so\nextension=gd.so|' -i $1/etc/php.ini
    2.10  	# Start Web server.
    2.11  	while read daemon file; do
     3.1 --- a/php-imap/receipt	Wed Dec 10 17:18:05 2008 +0000
     3.2 +++ b/php-imap/receipt	Wed Dec 10 17:20:52 2008 +0000
     3.3 @@ -32,7 +32,7 @@
     3.4  
     3.5  post_install()
     3.6  {
     3.7 -	grep -q ^extension=msql.so $1/etc/php.ini || \
     3.8 +	grep -q ^extension=imap.so $1/etc/php.ini || \
     3.9  	    sed -e 's|;.*extension=msql.so|;   extension=msql.so\nextension=imap.so|' -i $1/etc/php.ini
    3.10  	# Start Web server.
    3.11  	while read daemon file; do
     4.1 --- a/php-ldap/receipt	Wed Dec 10 17:18:05 2008 +0000
     4.2 +++ b/php-ldap/receipt	Wed Dec 10 17:20:52 2008 +0000
     4.3 @@ -32,7 +32,7 @@
     4.4  
     4.5  post_install()
     4.6  {
     4.7 -	grep -q ^extension=msql.so $1/etc/php.ini || \
     4.8 +	grep -q ^extension=ldap.so $1/etc/php.ini || \
     4.9  	    sed -e 's|;.*extension=msql.so|;   extension=msql.so\nextension=ldap.so|' -i $1/etc/php.ini
    4.10  	# Start Web server.
    4.11  	while read daemon file; do
     5.1 --- a/php-mhash/receipt	Wed Dec 10 17:18:05 2008 +0000
     5.2 +++ b/php-mhash/receipt	Wed Dec 10 17:20:52 2008 +0000
     5.3 @@ -32,7 +32,7 @@
     5.4  
     5.5  post_install()
     5.6  {
     5.7 -	grep -q ^extension=msql.so $1/etc/php.ini || \
     5.8 +	grep -q ^extension=mhash.so $1/etc/php.ini || \
     5.9  	    sed -e 's|;.*extension=msql.so|;   extension=msql.so\nextension=mhash.so|' -i $1/etc/php.ini
    5.10  	# Start Web server.
    5.11  	while read daemon file; do
     6.1 --- a/php-mysql/receipt	Wed Dec 10 17:18:05 2008 +0000
     6.2 +++ b/php-mysql/receipt	Wed Dec 10 17:20:52 2008 +0000
     6.3 @@ -32,7 +32,7 @@
     6.4  
     6.5  post_install()
     6.6  {
     6.7 -	grep -q ^extension=msql.so $1/etc/php.ini || \
     6.8 +	grep -q ^extension=mysql.so $1/etc/php.ini || \
     6.9  	    sed -e 's|;.*extension=msql.so|;   extension=msql.so\nextension=mysql.so|' -i $1/etc/php.ini
    6.10  	# Start Web server.
    6.11  	while read daemon file; do
     7.1 --- a/php-pgsql/receipt	Wed Dec 10 17:18:05 2008 +0000
     7.2 +++ b/php-pgsql/receipt	Wed Dec 10 17:20:52 2008 +0000
     7.3 @@ -32,7 +32,7 @@
     7.4  
     7.5  post_install()
     7.6  {
     7.7 -	grep -q ^extension=msql.so $1/etc/php.ini || \
     7.8 +	grep -q ^extension=pgsql.so $1/etc/php.ini || \
     7.9  	    sed -e 's|;.*extension=msql.so|;   extension=msql.so\nextension=pgsql.so|' -i $1/etc/php.ini
    7.10  	# Start Web server.
    7.11  	while read daemon file; do