wok-next diff coreutils-file-attributes/receipt @ rev 19658
Up xorg-xf86-video-ati
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Mar 04 17:31:46 2017 +0200 (2017-03-04) |
parents | 1d0123efe74c |
children |
line diff
1.1 --- a/coreutils-file-attributes/receipt Wed Jun 15 17:23:11 2016 +0300 1.2 +++ b/coreutils-file-attributes/receipt Sat Mar 04 17:31:46 2017 +0200 1.3 @@ -14,26 +14,14 @@ 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 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 -/bin/chgrp 1.16 -/bin/chmod 1.17 -/bin/chown 1.18 -/usr/bin/touch 1.19 -EOT 1.20 + cook_copy_files chgrp chmod chown touch 1.21 } 1.22 1.23 post_install() 1.24 { 1.25 # Remove Busybox applets in order to not clash with ("/bin", "/sbin", 1.26 # "/usr/bin" and "/usr/sbin" conflicts with the same filename) 1.27 - rm "$1/bin/touch" # /usr/bin/touch 1.28 + rm "$1/bin/touch" # for /usr/bin/touch 1.29 } 1.30 1.31 post_remove()