wok diff phpldapadmin/receipt @ rev 1990

Fix: xrick CATEGORY
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Jan 06 23:40:55 2009 +0100 (2009-01-06)
parents 9622723b3408
children e0cee896adcf
line diff
     1.1 --- a/phpldapadmin/receipt	Mon Sep 22 15:39:21 2008 +0000
     1.2 +++ b/phpldapadmin/receipt	Tue Jan 06 23:40:55 2009 +0100
     1.3 @@ -27,10 +27,6 @@
     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/phpldapadmin/config.php
    1.10 -EOT
    1.11  	if [ -s $1/etc/openldap/slapd.conf ]; then
    1.12  		rootdn=$(awk '/^rootdn/ { print $2 }' < $1/etc/openldap/slapd.conf | sed 's/"//g')
    1.13  		sed -i "s|'login','dn','');|'login','dn','');\\n\$ldapservers->SetValue(\$i,'login','dn','$rootdn');|" $1/etc/phpldapadmin/config.php
    1.14 @@ -77,8 +73,3 @@
    1.15  ------
    1.16  EOT
    1.17  }
    1.18 -
    1.19 -repack_cleanup()
    1.20 -{
    1.21 -        zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
    1.22 -}