wok-current rev 15658

gpm, cups: do not start daemon while cooking
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 12 07:33:28 2013 +0000 (2013-12-12)
parents 8fdebdc42cf1
children cd23435b5d94
files cups/receipt gpm/receipt
line diff
     1.1 --- a/cups/receipt	Thu Dec 12 06:50:55 2013 +0000
     1.2 +++ b/cups/receipt	Thu Dec 12 07:33:28 2013 +0000
     1.3 @@ -81,7 +81,7 @@
     1.4  {
     1.5  	local root
     1.6  	root=$1
     1.7 -	if [ -z "$root" ]; then
     1.8 +	if [ -z "$root" -a "$TEXTDOMAIN" != "cook" ]; then
     1.9  		/etc/init.d/cupsd start || continue
    1.10  	fi
    1.11  	if ! grep -q ^CUPSD_OPTIONS $root/etc/daemons.conf; then
     2.1 --- a/gpm/receipt	Thu Dec 12 06:50:55 2013 +0000
     2.2 +++ b/gpm/receipt	Thu Dec 12 07:33:28 2013 +0000
     2.3 @@ -50,5 +50,5 @@
     2.4  
     2.5  post_install()
     2.6  {
     2.7 -	[ -n "$1" ] || /etc/init.d/gpm start
     2.8 +	[ -n "$1" -o "$TEXTDOMAIN" == "cook" ] || /etc/init.d/gpm start
     2.9  }