wok-next diff coreutils-operations/receipt @ rev 19714

Up cookutils (901)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 12 16:19:41 2017 +0300 (2017-05-12)
parents 1d0123efe74c
children
line diff
     1.1 --- a/coreutils-operations/receipt	Wed Jun 15 17:23:11 2016 +0300
     1.2 +++ b/coreutils-operations/receipt	Fri May 12 16:19:41 2017 +0300
     1.3 @@ -14,20 +14,7 @@
     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/cp
    1.16 -/bin/dd
    1.17 -/bin/mv
    1.18 -/usr/bin/install
    1.19 -/usr/bin/shred
    1.20 -EOT
    1.21 +	cook_copy_files cp dd mv install shred
    1.22  }
    1.23  
    1.24  post_remove()