wok-4.x rev 5014
tar: store tar in /bin (like busybox)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 01 13:28:15 2010 +0100 (2010-03-01) |
parents | d6cd66a2b5fc |
children | 94d647af395f |
files | tar/receipt |
line diff
1.1 --- a/tar/receipt Mon Mar 01 13:06:49 2010 +0100 1.2 +++ b/tar/receipt Mon Mar 01 13:28:15 2010 +0100 1.3 @@ -25,8 +25,8 @@ 1.4 # Rules to gen a SliTaz package suitable for Tazpkg. 1.5 genpkg_rules() 1.6 { 1.7 - mkdir -p $fs/usr 1.8 - cp -a $_pkg/usr/bin $fs/usr 1.9 + mkdir -p $fs 1.10 + cp -a $_pkg/usr/bin $fs 1.11 } 1.12 1.13 # Prevent erasing busybox... 1.14 @@ -34,10 +34,10 @@ 1.15 { 1.16 local root 1.17 root=$1 1.18 - rm -f $root/usr/bin/tar 1.19 + rm -f $root/bin/tar 1.20 } 1.21 1.22 post_remove() 1.23 { 1.24 - ln -s /bin/busybox /usr/bin/tar 1.25 + ln -s /bin/busybox /bin/tar 1.26 }