wok diff phpmyadmin/receipt @ rev 1180

Add fxload (astribank utility)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 02 21:41:55 2008 +0000 (2008-08-02)
parents b4f5dca41cf5
children 534023d6e005
line diff
     1.1 --- a/phpmyadmin/receipt	Fri Jul 25 22:27:52 2008 +0000
     1.2 +++ b/phpmyadmin/receipt	Sat Aug 02 21:41:55 2008 +0000
     1.3 @@ -31,6 +31,10 @@
     1.4  
     1.5  post_install()
     1.6  {
     1.7 +	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
     1.8 +		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
     1.9 +etc/phpmyadmin/config.inc.php
    1.10 +EOT
    1.11  	if [ -f $1/etc/lighttpd/lighttpd.conf ]; then
    1.12  		if ! grep -q /usr/share/phpmyadmin/ $1/etc/lighttpd/lighttpd.conf; then
    1.13  	    		sed -e 's|.*"/examples/" => "/usr/share/examples/",|    "/examples/" => "/usr/share/examples/",\n    "/phpmyadmin/" => "/usr/share/phpmyadmin/",|g' -i $1/etc/lighttpd/lighttpd.conf
    1.14 @@ -43,3 +47,7 @@
    1.15  	fi
    1.16  }
    1.17  
    1.18 +repack_cleanup()
    1.19 +{
    1.20 +        zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
    1.21 +}