wok-next diff openldap/receipt @ rev 19066

It works, but needs review and improvement. Thank you.
author Leonardo Laporte <hackdorte@sapo.pt>
date Thu Apr 21 06:32:59 2016 -0300 (2016-04-21)
parents 17e313b5b9c1
children 9278a60d6895
line diff
     1.1 --- a/openldap/receipt	Tue Feb 17 09:42:47 2015 +0100
     1.2 +++ b/openldap/receipt	Thu Apr 21 06:32:59 2016 -0300
     1.3 @@ -52,11 +52,11 @@
     1.4  # Pre and post install commands for Tazpkg.
     1.5  post_install()
     1.6  {
     1.7 -	( cd $1/$INSTALLED/ ; grep -l /etc/openldap/slapd.conf */receipt ) | \
     1.8 +	( cd "$1/$INSTALLED/" ; grep -l /etc/openldap/slapd.conf */receipt ) | \
     1.9  	while read file; do
    1.10  		pkg=$(dirname $file)
    1.11  		[ "$pkg" = "$PACKAGE" ] && continue
    1.12  		echo "Reconfiguring $pkg for $PACKAGE..."
    1.13 -		chroot $1/ tazpkg reconfigure $pkg
    1.14 +		chroot "$1/" tazpkg reconfigure $pkg
    1.15  	done
    1.16  }