wok rev 5123

ghostscript, postgrey: fix post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 21 11:28:25 2010 +0100 (2010-03-21)
parents 25f2b76b9db6
children db63cccdb8d4
files ghostscript/receipt postgrey/receipt
line diff
     1.1 --- a/ghostscript/receipt	Sun Mar 21 09:28:08 2010 +0100
     1.2 +++ b/ghostscript/receipt	Sun Mar 21 11:28:25 2010 +0100
     1.3 @@ -53,15 +53,11 @@
     1.4  	# Remove CMAPs (Non-free : not covered under GPL) : moved to non-free package get-ghostscript-CMAP
     1.5  	rm -rf $fs/usr/share/$PACKAGE/$VERSION/Resource/CMap/*
     1.6  	
     1.7 -	
     1.8  	# already compiled as a shared lib; gsc is same as gs
     1.9  	rm -rf $fs/usr/bin/gs
    1.10 -		
    1.11 -
    1.12 -		
    1.13  }
    1.14  
    1.15  post_install()
    1.16  {
    1.17 -	ln -s /usr/bin/gsc /usr/bin/gs
    1.18 +	ln -s /usr/bin/gsc $1/usr/bin/gs
    1.19  }
     2.1 --- a/postgrey/receipt	Sun Mar 21 09:28:08 2010 +0100
     2.2 +++ b/postgrey/receipt	Sun Mar 21 11:28:25 2010 +0100
     2.3 @@ -24,7 +24,7 @@
     2.4  # Pre and post install commands for Tazpkg.
     2.5  post_install()
     2.6  {
     2.7 -	chown postfix /var/spool/postfix/postgrey
     2.8 +	chroot $1/ chown postfix /var/spool/postfix/postgrey
     2.9  	cat <<EOF
    2.10  ----
    2.11  To use $PACKAGE with postfix, add check_policy_service inet:127.0.0.1:60000 in