# HG changeset patch # User Christopher Rogers # Date 1292141086 0 # Node ID f067d5386393811a3600c2afe2a8135d265c458f # Parent 79ebfa5003d693ba5c07f5acfd22544114efd8cc lzma, xz: Fixed removeal of unlzma in post_install and pre_install. diff -r 79ebfa5003d6 -r f067d5386393 lzma/receipt --- a/lzma/receipt Sun Dec 12 13:55:48 2010 +0100 +++ b/lzma/receipt Sun Dec 12 08:04:46 2010 +0000 @@ -45,7 +45,20 @@ ln -s lzma $fs/usr/bin/lzcat } +# Pre and post install commands for Tazpkg. +# We must remove all Busybox symlink before installing. +# +pre_install() +{ + local root + root=$1 + echo "Processing pre-install commands..." + echo -n "Removing all Busybox replaced utils... " + rm -f $root/usr/bin/unlzma + status +} + post_remove() { - ln -s ../../bin/busybox $1/usr/bin/unlzma -} + ln -s /bin/busybox /usr/bin/unlzma +} \ No newline at end of file diff -r 79ebfa5003d6 -r f067d5386393 xz/receipt --- a/xz/receipt Sun Dec 12 13:55:48 2010 +0100 +++ b/xz/receipt Sun Dec 12 08:04:46 2010 +0000 @@ -34,7 +34,20 @@ ln -s lzma $fs/usr/bin/lzcat } +# Pre and post install commands for Tazpkg. +# We must remove all Busybox symlink before installing. +# +pre_install() +{ + local root + root=$1 + echo "Processing pre-install commands..." + echo -n "Removing all Busybox replaced utils... " + rm -f $root/usr/bin/unlzma + status +} + post_remove() { - ln -s ../../bin/busybox $1/usr/bin/unlzma -} + ln -s /bin/busybox /usr/bin/unlzma +} \ No newline at end of file