# HG changeset patch # User Pascal Bellard # Date 1386833608 0 # Node ID 8a5d0d5c5453224807c9b6083c8281199dcbc5fe # Parent 8fdebdc42cf1941f06e878cadcba1fca63b9f744 gpm, cups: do not start daemon while cooking diff -r 8fdebdc42cf1 -r 8a5d0d5c5453 cups/receipt --- a/cups/receipt Thu Dec 12 06:50:55 2013 +0000 +++ b/cups/receipt Thu Dec 12 07:33:28 2013 +0000 @@ -81,7 +81,7 @@ { local root root=$1 - if [ -z "$root" ]; then + if [ -z "$root" -a "$TEXTDOMAIN" != "cook" ]; then /etc/init.d/cupsd start || continue fi if ! grep -q ^CUPSD_OPTIONS $root/etc/daemons.conf; then diff -r 8fdebdc42cf1 -r 8a5d0d5c5453 gpm/receipt --- a/gpm/receipt Thu Dec 12 06:50:55 2013 +0000 +++ b/gpm/receipt Thu Dec 12 07:33:28 2013 +0000 @@ -50,5 +50,5 @@ post_install() { - [ -n "$1" ] || /etc/init.d/gpm start + [ -n "$1" -o "$TEXTDOMAIN" == "cook" ] || /etc/init.d/gpm start }