wok rev 15222

cups-pam: fix pre_remove
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 22 09:48:59 2013 +0200 (2013-09-22)
parents c8404989906f
children 28bdc3fde28c
files cups-pam/receipt
line diff
     1.1 --- a/cups-pam/receipt	Sun Sep 22 09:41:56 2013 +0200
     1.2 +++ b/cups-pam/receipt	Sun Sep 22 09:48:59 2013 +0200
     1.3 @@ -90,7 +90,7 @@
     1.4  {
     1.5  	local root
     1.6  	root=$1
     1.7 -	if [ -z "$root" ]; then
     1.8 +	if [ -z "$root" -a -x /etc/init.d/cupsd ]; then
     1.9  		/etc/init.d/cupsd stop
    1.10  	fi
    1.11  }