wok-6.x diff cups-pam/receipt @ rev 14426
connman: update deps
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Apr 23 22:43:33 2013 +0200 (2013-04-23) |
parents | 21cd28c4630a |
children | a2bab5234954 |
line diff
1.1 --- a/cups-pam/receipt Tue Nov 13 11:43:56 2012 +0100 1.2 +++ b/cups-pam/receipt Tue Apr 23 22:43:33 2013 +0200 1.3 @@ -88,7 +88,7 @@ 1.4 # Stop cups daemon before rm. 1.5 pre_remove() 1.6 { 1.7 - [ -z "$1" ] && /etc/init.d/cupsd stop 1.8 + [ -z "$1" ] && [ -x /etc/init.d/cupsd ] && /etc/init.d/cupsd stop 1.9 } 1.10 1.11 # Overlap busybox 1.12 @@ -99,5 +99,5 @@ 1.13 1.14 post_remove() 1.15 { 1.16 - ln -s /bin/busybox /usr/bin/lpr 1.17 + ln -s /bin/busybox $1/usr/bin/lpr 1.18 }