wok diff phppgadmin/receipt @ rev 1211
Add postgrey
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 09 15:11:38 2008 +0000 (2008-08-09) |
parents | 443dbfefc6bf |
children | 534023d6e005 |
line diff
1.1 --- a/phppgadmin/receipt Sat Jul 26 14:23:50 2008 +0000 1.2 +++ b/phppgadmin/receipt Sat Aug 09 15:11:38 2008 +0000 1.3 @@ -24,6 +24,7 @@ 1.4 cp -a $src/. $fs/usr/share/phppgadmin 1.5 mv $fs/usr/share/phppgadmin/conf $fs/etc/phppgadmin 1.6 ln -s /etc/phppgadmin $fs/usr/share/phppgadmin/conf 1.7 + sed -i -e "s/conf\['extra_login_security'\] = true/conf['extra_login_security'] = false/" $fs/etc/phppgadmin/config.inc.php 1.8 chown -R www.www $fs/usr/share/phppgadmin $fs/etc/phppgadmin 1.9 chmod 700 $fs/etc/phppgadmin 1.10 chmod 600 $fs/etc/phppgadmin/* 1.11 @@ -31,6 +32,10 @@ 1.12 1.13 post_install() 1.14 { 1.15 + ( cd $1/ ; cpio -o -H newc | gzip -9 ) > \ 1.16 + $1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT 1.17 +etc/phppgadmin/config.inc.php 1.18 +EOT 1.19 if [ -f $1/etc/lighttpd/lighttpd.conf ]; then 1.20 if ! grep -q /usr/share/phppgadmin/ $1/etc/lighttpd/lighttpd.conf; then 1.21 sed -e 's|.*"/examples/" => "/usr/share/examples/",| "/examples/" => "/usr/share/examples/",\n "/phppgadmin/" => "/usr/share/phppgadmin/",|g' -i $1/etc/lighttpd/lighttpd.conf 1.22 @@ -43,3 +48,7 @@ 1.23 fi 1.24 } 1.25 1.26 +repack_cleanup() 1.27 +{ 1.28 + zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id ) 1.29 +}