wok diff xz/receipt @ rev 6935
Up: sip to 4.11.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Oct 23 14:58:03 2010 +0000 (2010-10-23) |
parents | 413b0174114a |
children | 5b636b13a396 |
line diff
1.1 --- a/xz/receipt Sun Feb 28 18:16:33 2010 +0100 1.2 +++ b/xz/receipt Sat Oct 23 14:58:03 2010 +0000 1.3 @@ -31,3 +31,21 @@ 1.4 cp -a $_pkg/usr/bin/xz $fs/usr/bin 1.5 cp stuff/lzma $fs/usr/bin 1.6 } 1.7 + 1.8 +# Pre and post install commands for Tazpkg. 1.9 +# We must remove all Busybox symlink before installing. 1.10 +# 1.11 +pre_install() 1.12 +{ 1.13 + local root 1.14 + root=$1 1.15 + echo "Processing pre-install commands..." 1.16 + echo -n "Removing all Busybox replaced utils... " 1.17 + rm -f $root/usr/bin/xz 1.18 + status 1.19 +} 1.20 + 1.21 +post_remove() 1.22 +{ 1.23 + ln -s /bin/busybox /usr/bin/xz 1.24 +}