wok-4.x rev 1923

Openldap: reconfigure ldap applications
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 23 10:01:16 2008 +0000 (2008-12-23)
parents 6afe26c32da8
children bd6010223726
files openldap/receipt
line diff
     1.1 --- a/openldap/receipt	Tue Dec 23 09:58:09 2008 +0000
     1.2 +++ b/openldap/receipt	Tue Dec 23 10:01:16 2008 +0000
     1.3 @@ -50,6 +50,13 @@
     1.4  etc/openldap/ldap.conf
     1.5  etc/openldap/slapd.conf
     1.6  EOT
     1.7 +	( cd $1/$INSTALLED/ ; grep -l /etc/openldap/slapd.conf */receipt ) | \
     1.8 +	while read file; do
     1.9 +		pkg=$(dirname $file)
    1.10 +		[ "$pkg" = "$PACKAGE" ] && continue
    1.11 +		echo "Reconfiguring $pkg for $PACKAGE..."
    1.12 +		tazpkg reconfigure $pkg
    1.13 +	done
    1.14  }
    1.15  
    1.16  repack_cleanup()