# HG changeset patch # User Matthew Sheets # Date 1247737269 0 # Node ID 702cfa82af3508a800794a1c7ab197370030bc2a # Parent 5b0b131c348052ed92c3e13b2e51042b189b2e31 Update: bzip2 (handle BusyBox symlinks) diff -r 5b0b131c3480 -r 702cfa82af35 bzip2/receipt --- a/bzip2/receipt Thu Jul 16 09:06:54 2009 +0000 +++ b/bzip2/receipt Thu Jul 16 09:41:09 2009 +0000 @@ -31,12 +31,21 @@ ln -s bzip2 bzcat } -# Pre install commands for Tazpkg. -# Force remove of an eventual bzcat link to Busybox. +# Remove Busybox symlinks before installing pre_install() { local root root=$1 echo "Processing post-install commands..." + rm -f $root/usr/bin/bunzip2 rm -f $root/usr/bin/bzcat +# rm -f $root/usr/bin/bzip2 } + +# Restore Busybox symlinks upon removal +post_remove() +{ + ln -s /bin/busybox /usr/bin/bunzip2 + ln -s /bin/busybox /usr/bin/bzcat +# ln -s /bin/busybox /usr/bin/bzip2 +}