wok-next diff pciutils/receipt @ rev 9402

git: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 27 16:56:58 2011 +0200 (2011-03-27)
parents aa920dfe273d
children bab6e96ebac3
line diff
     1.1 --- a/pciutils/receipt	Sun Jan 09 14:35:06 2011 +0100
     1.2 +++ b/pciutils/receipt	Sun Mar 27 16:56:58 2011 +0200
     1.3 @@ -30,3 +30,14 @@
     1.4  	cp -a $src/lspci $fs/usr/bin
     1.5  	cp -a $src/setpci $fs/usr/bin
     1.6  }
     1.7 +
     1.8 +# Overlap busybox
     1.9 +pre_install()
    1.10 +{
    1.11 +	rm -f $1/usr/bin/lspci
    1.12 +}
    1.13 +
    1.14 +post_remove()
    1.15 +{
    1.16 +	ln -s /bin/busybox /usr/bin/lspci
    1.17 +}