wok-stable diff phpldapadmin/receipt @ rev 1820
Split ndiswrapper.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Dec 05 23:08:55 2008 +0100 (2008-12-05) |
parents | 32fa0b9984a6 |
children | bd6010223726 |
line diff
1.1 --- a/phpldapadmin/receipt Wed Aug 27 18:41:39 2008 +0000 1.2 +++ b/phpldapadmin/receipt Fri Dec 05 23:08:55 2008 +0100 1.3 @@ -31,6 +31,11 @@ 1.4 $1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT 1.5 etc/phpldapadmin/config.php 1.6 EOT 1.7 + if [ -s $1/etc/openldap/slapd.conf ]; then 1.8 + rootdn=$(awk '/^rootdn/ { print $2 }' < $1/etc/openldap/slapd.conf | sed 's/"//g') 1.9 + sed -i "s|'login','dn','');|'login','dn','');\\n\$ldapservers->SetValue(\$i,'login','dn','$rootdn');|" $1/etc/phpldapadmin/config.php 1.10 + chown 80.80 $1/etc/phpldapadmin/config.php 1.11 + fi 1.12 # Configure lighttpd server 1.13 if [ -f $1/etc/lighttpd/lighttpd.conf ]; then 1.14 if ! grep -q /usr/share/phpldapadmin/ $1/etc/lighttpd/lighttpd.conf; then