wok diff coreutils-file-special/receipt @ rev 18897

syslinux/isohybrid.exe add -r support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 14 22:06:06 2016 +0100 (2016-02-14)
parents 9e01bc6321ea
children 1d0123efe74c
line diff
     1.1 --- a/coreutils-file-special/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.2 +++ b/coreutils-file-special/receipt	Sun Feb 14 22:06:06 2016 +0100
     1.3 @@ -33,23 +33,12 @@
     1.4  	cp -a $install/usr/bin/unlink $fs/usr/bin
     1.5  }
     1.6  
     1.7 -# Pre and post install commands for Tazpkg.
     1.8 -# We must remove all Busybox symlink before installing.
     1.9 -#
    1.10 -pre_install()
    1.11 -{
    1.12 -	echo "Processing pre-install commands..."
    1.13 -	echo -n "Removing all Busybox replaced utils... "
    1.14 -	rm -f "$1/bin/ln" "$1/bin/mkdir" "$1/bin/mknod" "$1/bin/rmdir"
    1.15 -	rm -f "$1/usr/bin/mkfifo" "$1/usr/bin/readlink"
    1.16 -	status
    1.17 -}
    1.18 -
    1.19  pre_remove()
    1.20  {
    1.21  	# Need to handle the removal of ln
    1.22  	cp -a -fd "$1/bin/ln" "$1/bin/ln-coreutils"
    1.23  }
    1.24 +
    1.25  post_remove()
    1.26  {
    1.27  	# Restore ln