wok-next diff coreutils-command/receipt @ rev 19608
lzop: add forgotten patch.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Feb 03 14:20:13 2017 +0200 (2017-02-03) |
parents | 1d0123efe74c |
children |
line diff
1.1 --- a/coreutils-command/receipt Wed Jun 15 17:23:11 2016 +0300 1.2 +++ b/coreutils-command/receipt Fri Feb 03 14:20:13 2017 +0200 1.3 @@ -14,35 +14,16 @@ 1.4 # Rules to gen a SliTaz package suitable for Tazpkg. 1.5 genpkg_rules() 1.6 { 1.7 - mandir="$fs/usr/share/man/man1" 1.8 - mkdir -p $mandir ${mandir/1/8} 1.9 - 1.10 - while read i; do 1.11 - mkdir -p $fs$(dirname $i) 1.12 - cp -a $install$i $fs$i 1.13 - find $install -name "$(basename $i).*" -exec cp -a \{\} $mandir \; 1.14 - done <<EOT 1.15 -/usr/bin/env 1.16 -/usr/bin/kill 1.17 -/usr/bin/nice 1.18 -/usr/bin/nohup 1.19 -/usr/bin/sleep 1.20 -/usr/bin/stdbuf 1.21 -/usr/bin/timeout 1.22 -/usr/libexec/coreutils/libstdbuf.so 1.23 -/usr/sbin/chroot 1.24 -EOT 1.25 - 1.26 - mv $mandir/chroot.* ${mandir/1/8} 1.27 + cook_copy_files env kill nice nohup sleep stdbuf timeout libstdbuf.so chroot 1.28 } 1.29 1.30 post_install() 1.31 { 1.32 # Remove Busybox applets in order to not clash with ("/bin", "/sbin", 1.33 # "/usr/bin" and "/usr/sbin" conflicts with the same filename) 1.34 - rm "$1/bin/kill" # /usr/bin/kill 1.35 - rm "$1/bin/nice" # /usr/bin/nice 1.36 - rm "$1/bin/sleep" # /usr/bin/sleep 1.37 + rm "$1/bin/kill" # for /usr/bin/kill 1.38 + rm "$1/bin/nice" # for /usr/bin/nice 1.39 + rm "$1/bin/sleep" # for /usr/bin/sleep 1.40 } 1.41 1.42 post_remove()