wok-current diff phpldapadmin/receipt @ rev 4017

Up: asunder (1.9)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Sep 03 22:42:30 2009 +0200 (2009-09-03)
parents 9622723b3408
children e0cee896adcf
line diff
     1.1 --- a/phpldapadmin/receipt	Mon Sep 22 15:39:21 2008 +0000
     1.2 +++ b/phpldapadmin/receipt	Thu Sep 03 22:42:30 2009 +0200
     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 -}