wok-next diff cups-pam/receipt @ rev 8875

cups, depmod, diffutils: restore busybox links in port_remove()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 27 01:21:13 2011 +0100 (2011-02-27)
parents f8c8e5d73cd4
children 129bb5b11a7e
line diff
     1.1 --- a/cups-pam/receipt	Sun Feb 06 04:31:20 2011 +0000
     1.2 +++ b/cups-pam/receipt	Sun Feb 27 01:21:13 2011 +0100
     1.3 @@ -90,3 +90,14 @@
     1.4  {
     1.5  	/etc/init.d/cupsd stop
     1.6  }
     1.7 +
     1.8 +# Overlap busybox
     1.9 +pre_install()
    1.10 +{
    1.11 +	rm -f $1/usr/bin/lpr
    1.12 +}
    1.13 +
    1.14 +post_remove()
    1.15 +{
    1.16 +	ln -s /bin/busybox /usr/bin/lpr
    1.17 +}