# HG changeset patch # User Matthew Sheets # Date 1245663499 0 # Node ID eb2c55805aa9a23bfa638ad412cc8c5b03aecd85 # Parent 4787fefb7398c6304889b42f0ccb97b75272989f Update: gawk - add post_remove diff -r 4787fefb7398 -r eb2c55805aa9 gawk/receipt --- a/gawk/receipt Mon Jun 22 17:35:58 2009 +0800 +++ b/gawk/receipt Mon Jun 22 09:38:19 2009 +0000 @@ -36,7 +36,8 @@ strip -s $fs/usr/bin/* } -# Post install to avoid erasing Busybox link +# Pre and post install commands for Tazpkg. +# We must remove all Busybox symlink before installing. pre_install() { local root @@ -44,3 +45,7 @@ rm -f $root/usr/bin/awk } +post_remove() +{ + ln -s /bin/busybox /usr/bin/awk +}