wok diff t2/receipt @ rev 17895

Up gnome-commander-i18n (1.4.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 02 17:28:23 2015 +0200 (2015-04-02)
parents 600aaedb561d
children 9e01bc6321ea
line diff
     1.1 --- a/t2/receipt	Mon Dec 02 19:18:04 2013 +0000
     1.2 +++ b/t2/receipt	Thu Apr 02 17:28:23 2015 +0200
     1.3 @@ -12,12 +12,6 @@
     1.4  
     1.5  DEPENDS="slitaz-toolchain bash ncurses"
     1.6  
     1.7 -# Rules to configure and make the package.
     1.8 -compile_rules()
     1.9 -{
    1.10 -	true
    1.11 -}
    1.12 -
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16 @@ -28,7 +22,7 @@
    1.17  # Pre and post install commands for Tazpkg.
    1.18  post_install()
    1.19  {
    1.20 -	[ -L /usr/bin/wget ] && tazpkg get-install wget --forced
    1.21 +	[ -L $1/usr/bin/wget ] && tazpkg get-install wget --forced --root=${1:-/}
    1.22  	cat <<EOT
    1.23  Now you can do:
    1.24  # cd /usr/lib/t2