wok-current diff coreutils-directory/receipt @ rev 24053
Up slitaz-boot-script (471)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 27 13:42:59 2021 +0000 (2021-05-27) |
parents | 1d0123efe74c |
children | 3b252eb4d26a |
line diff
1.1 --- a/coreutils-directory/receipt Wed Jun 15 17:23:11 2016 +0300 1.2 +++ b/coreutils-directory/receipt Thu May 27 13:42:59 2021 +0000 1.3 @@ -1,15 +1,15 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="coreutils-directory" 1.7 -VERSION="8.25" 1.8 +VERSION="8.31" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="GNU utilities that list directories." 1.11 MAINTAINER="rcx@zoominternet.net" 1.12 LICENSE="GPL3" 1.13 WEB_SITE="https://www.gnu.org/software/coreutils/coreutils.html" 1.14 1.15 +DEPENDS="glibc-base attr libcap" 1.16 WANTED="coreutils" 1.17 -DEPENDS="glibc-base attr libcap" 1.18 1.19 # Rules to gen a SliTaz package suitable for Tazpkg. 1.20 genpkg_rules() 1.21 @@ -17,11 +17,12 @@ 1.22 mandir="$fs/usr/share/man/man1" 1.23 mkdir -p $mandir 1.24 1.25 - while read i; do 1.26 + while read i 1.27 + do 1.28 mkdir -p $fs$(dirname $i) 1.29 - cp -a $install$i $fs$i 1.30 + cp -a $install$i $fs$i 1.31 find $install -name "$(basename $i).*" -exec cp -a \{\} $mandir \; 1.32 - done <<EOT 1.33 + done <<EOT 1.34 /bin/ls 1.35 /usr/bin/dir 1.36 /usr/bin/dircolors 1.37 @@ -32,9 +33,10 @@ 1.38 post_remove() 1.39 { 1.40 # Restore all Busybox applets that have been replaced 1.41 - while read i; do 1.42 + while read i 1.43 + do 1.44 busybox ln -s /bin/busybox "$1$i" 1.45 - done <<EOT 1.46 + done <<EOT 1.47 /bin/ls 1.48 EOT 1.49 }