wok-4.x rev 3684

Update: coreutils-file-special (remove scripts)
author Matthew Sheets <rcx@zoominternet.net>
date Mon Jul 13 14:21:47 2009 +0000 (2009-07-13)
parents 724272f085f8
children 3e226e360ec1
files coreutils-file-special/receipt
line diff
     1.1 --- a/coreutils-file-special/receipt	Mon Jul 13 16:27:57 2009 +0000
     1.2 +++ b/coreutils-file-special/receipt	Mon Jul 13 14:21:47 2009 +0000
     1.3 @@ -45,12 +45,22 @@
     1.4  	status
     1.5  }
     1.6  
     1.7 +pre_remove()
     1.8 +{
     1.9 +	# Need to handle the removal of ln
    1.10 +	cp -a -fd /bin/ln /bin/ln-coreutils
    1.11 +}
    1.12 +
    1.13  post_remove()
    1.14  {
    1.15 -	ln -s /bin/busybox /bin/ln
    1.16 +	# Restore ln
    1.17 +	ln-coreutils -s /bin/busybox /bin/ln
    1.18 +
    1.19  	ln -s /bin/busybox /bin/mkdir
    1.20  	ln -s /bin/busybox /bin/mknod
    1.21  	ln -s /bin/busybox /bin/rmdir
    1.22  	ln -s /bin/busybox /usr/bin/mkfifo
    1.23  	ln -s /bin/busybox /usr/bin/readlink
    1.24 +	
    1.25 +	rm -f /bin/ln-coreutils
    1.26  }