wok-current diff coreutils-file-special/receipt @ rev 9785

gen-init-cpio: fix build
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 12 15:15:03 2011 +0200 (2011-05-12)
parents d5009f5bff9c
children bf9d643b2c59
line diff
     1.1 --- a/coreutils-file-special/receipt	Sat Feb 05 03:20:51 2011 +0000
     1.2 +++ b/coreutils-file-special/receipt	Thu May 12 15:15:03 2011 +0200
     1.3 @@ -48,19 +48,19 @@
     1.4  pre_remove()
     1.5  {
     1.6  	# Need to handle the removal of ln
     1.7 -	cp -a -fd /bin/ln /bin/ln-coreutils
     1.8 +	cp -a -fd /bin/ln $1/bin/ln-coreutils
     1.9  }
    1.10  
    1.11  post_remove()
    1.12  {
    1.13  	# Restore ln
    1.14 -	ln-coreutils -s /bin/busybox /bin/ln
    1.15 +	ln-coreutils -s /bin/busybox $1/bin/ln
    1.16  
    1.17 -	ln -s /bin/busybox /bin/mkdir
    1.18 -	ln -s /bin/busybox /bin/mknod
    1.19 -	ln -s /bin/busybox /bin/rmdir
    1.20 -	ln -s /bin/busybox /usr/bin/mkfifo
    1.21 -	ln -s /bin/busybox /usr/bin/readlink
    1.22 +	ln -s /bin/busybox $1/bin/mkdir
    1.23 +	ln -s /bin/busybox $1/bin/mknod
    1.24 +	ln -s /bin/busybox $1/bin/rmdir
    1.25 +	ln -s /bin/busybox $1/usr/bin/mkfifo
    1.26 +	ln -s /bin/busybox $1/usr/bin/readlink
    1.27  	
    1.28 -	rm -f /bin/ln-coreutils
    1.29 +	rm -f $1/bin/ln-coreutils
    1.30  }