# HG changeset patch # User Matthew Sheets # Date 1247494907 0 # Node ID dd1b57f565a1fbb302a845da29f727bbf4697cb6 # Parent 724272f085f8b43125cf7537ce09cf95d5135ef0 Update: coreutils-file-special (remove scripts) diff -r 724272f085f8 -r dd1b57f565a1 coreutils-file-special/receipt --- a/coreutils-file-special/receipt Mon Jul 13 16:27:57 2009 +0000 +++ b/coreutils-file-special/receipt Mon Jul 13 14:21:47 2009 +0000 @@ -45,12 +45,22 @@ status } +pre_remove() +{ + # Need to handle the removal of ln + cp -a -fd /bin/ln /bin/ln-coreutils +} + post_remove() { - ln -s /bin/busybox /bin/ln + # Restore ln + ln-coreutils -s /bin/busybox /bin/ln + ln -s /bin/busybox /bin/mkdir ln -s /bin/busybox /bin/mknod ln -s /bin/busybox /bin/rmdir ln -s /bin/busybox /usr/bin/mkfifo ln -s /bin/busybox /usr/bin/readlink + + rm -f /bin/ln-coreutils }