# HG changeset patch # User Pascal Bellard # Date 1269167305 -3600 # Node ID 627d16bb5e3e0cb5ef4dfa923cfd943322845200 # Parent 25f2b76b9db6ef1e467d192d22e2b188b52bad41 ghostscript, postgrey: fix post_install diff -r 25f2b76b9db6 -r 627d16bb5e3e ghostscript/receipt --- a/ghostscript/receipt Sun Mar 21 09:28:08 2010 +0100 +++ b/ghostscript/receipt Sun Mar 21 11:28:25 2010 +0100 @@ -53,15 +53,11 @@ # Remove CMAPs (Non-free : not covered under GPL) : moved to non-free package get-ghostscript-CMAP rm -rf $fs/usr/share/$PACKAGE/$VERSION/Resource/CMap/* - # already compiled as a shared lib; gsc is same as gs rm -rf $fs/usr/bin/gs - - - } post_install() { - ln -s /usr/bin/gsc /usr/bin/gs + ln -s /usr/bin/gsc $1/usr/bin/gs } diff -r 25f2b76b9db6 -r 627d16bb5e3e postgrey/receipt --- a/postgrey/receipt Sun Mar 21 09:28:08 2010 +0100 +++ b/postgrey/receipt Sun Mar 21 11:28:25 2010 +0100 @@ -24,7 +24,7 @@ # Pre and post install commands for Tazpkg. post_install() { - chown postfix /var/spool/postfix/postgrey + chroot $1/ chown postfix /var/spool/postfix/postgrey cat <