wok diff diffutils/receipt @ rev 10939

fusecloop: fix buggy patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 28 21:01:21 2011 +0200 (2011-08-28)
parents 6dc7a4df1585
children ddb3260c079e
line diff
     1.1 --- a/diffutils/receipt	Wed May 05 18:20:59 2010 +0000
     1.2 +++ b/diffutils/receipt	Sun Aug 28 21:01:21 2011 +0200
     1.3 @@ -24,3 +24,16 @@
     1.4  	mkdir -p $fs/usr
     1.5  	cp -a $_pkg/usr/bin $fs/usr
     1.6  }
     1.7 +
     1.8 +# Overlap busybox
     1.9 +pre_install()
    1.10 +{
    1.11 +	rm -f $1/usr/bin/diff
    1.12 +	rm -f $1/usr/bin/cmp
    1.13 +}
    1.14 +
    1.15 +post_remove()
    1.16 +{
    1.17 +	ln -s /bin/busybox /usr/bin/diff
    1.18 +	ln -s /bin/busybox /usr/bin/cmp
    1.19 +}