# HG changeset patch # User Matthew Sheets # Date 1250626298 0 # Node ID 57a049c42f13cd8d81fbe2be4221f43e58b6eac7 # Parent 044c8848261edc9fdddfa4bdb1a246c51a7f2330 Update: wget (BusyBox add/remove compatibility) diff -r 044c8848261e -r 57a049c42f13 wget/receipt --- a/wget/receipt Tue Aug 18 23:35:25 2009 +0200 +++ b/wget/receipt Tue Aug 18 20:11:38 2009 +0000 @@ -38,4 +38,20 @@ " } +# 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/wget + status +} +post_remove() +{ + ln -s /bin/busybox /usr/bin/wget +}