wok-next diff phpldapadmin/receipt @ rev 2341

boxbackup-client: improve start script
author Dominique Corbex <domcox@users.sourceforge.net>
date Mon Mar 02 19:42:33 2009 +0100 (2009-03-02)
parents 9622723b3408
children e0cee896adcf
line diff
     1.1 --- a/phpldapadmin/receipt	Mon Sep 22 15:39:21 2008 +0000
     1.2 +++ b/phpldapadmin/receipt	Mon Mar 02 19:42:33 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 -}