# HG changeset patch # User Pascal Bellard # Date 1379836139 -7200 # Node ID 28eda731c84d82e5ded062055d7ea505699e4699 # Parent c8404989906fb103c79dd786d5aa8f57a04cc878 cups-pam: fix pre_remove diff -r c8404989906f -r 28eda731c84d cups-pam/receipt --- a/cups-pam/receipt Sun Sep 22 09:41:56 2013 +0200 +++ b/cups-pam/receipt Sun Sep 22 09:48:59 2013 +0200 @@ -90,7 +90,7 @@ { local root root=$1 - if [ -z "$root" ]; then + if [ -z "$root" -a -x /etc/init.d/cupsd ]; then /etc/init.d/cupsd stop fi }