wok-6.x diff coreutils-path/receipt @ rev 24159

Up ventoy (1.0.62)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 20 10:05:11 2021 +0000 (2021-12-20)
parents 1d0123efe74c
children 3b252eb4d26a
line diff
     1.1 --- a/coreutils-path/receipt	Wed Jun 15 17:23:11 2016 +0300
     1.2 +++ b/coreutils-path/receipt	Mon Dec 20 10:05:11 2021 +0000
     1.3 @@ -1,15 +1,15 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="coreutils-path"
     1.7 -VERSION="8.25"
     1.8 +VERSION="8.31"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="GNU utilities that perform path manipulation."
    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"
    1.16  WANTED="coreutils"
    1.17 -DEPENDS="glibc-base"
    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  /usr/bin/basename
    1.35  /usr/bin/dirname
    1.36  /usr/bin/pathchk
    1.37 @@ -31,9 +32,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  /usr/bin/basename
    1.48  /usr/bin/dirname
    1.49  EOT