wok diff wget/receipt @ rev 18667

Change messaging in {pre|post}_{install|remove}(): wget and a* packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 04 16:32:53 2015 +0200 (2015-12-04)
parents a168f60e7dd8
children fca172c323cf
line diff
     1.1 --- a/wget/receipt	Mon Nov 30 05:01:23 2015 +0200
     1.2 +++ b/wget/receipt	Fri Dec 04 16:32:53 2015 +0200
     1.3 @@ -37,24 +37,14 @@
     1.4  # Post install rules.
     1.5  post_install()
     1.6  {
     1.7 -	echo -e "
     1.8 +	[ -z "$quiet" ] && echo -e "
     1.9  wget is in conflict with the busybox wget.
    1.10  If you want to use the busybox wget, do (as root):
    1.11  \033[1m ln -s /bin/busybox /usr/bin/wget \033[0m
    1.12  "
    1.13  }
    1.14  
    1.15 -# Pre and post install commands for Tazpkg.
    1.16 -# We must remove all Busybox symlink before installing.
    1.17 -#
    1.18 -pre_install()
    1.19 -{
    1.20 -	qaction "Removing Busybox wget replaced utility..."
    1.21 -	rm -f $1/usr/bin/wget
    1.22 -	qstatus
    1.23 -}
    1.24 -
    1.25  post_remove()
    1.26  {
    1.27 -	ln -s /bin/busybox $1/usr/bin/wget
    1.28 +	ln -s /bin/busybox "$1/usr/bin/wget"
    1.29  }