wok-6.x rev 15660
gpm, cups, c_icap: do not start daemon while cooking (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 12 08:15:03 2013 +0000 (2013-12-12) |
parents | cd23435b5d94 |
children | cfc6ddf8de74 |
files | c_icap/receipt cups/receipt gpm/receipt |
line diff
1.1 --- a/c_icap/receipt Thu Dec 12 07:48:19 2013 +0000 1.2 +++ b/c_icap/receipt Thu Dec 12 08:15:03 2013 +0000 1.3 @@ -50,7 +50,7 @@ 1.4 1.5 post_install() 1.6 { 1.7 - [ -z "$1" -a "$TEXTDOMAIN" != "cook" ] && /etc/init.d/c-icapd start 1.8 + [ -z "$1" -a ! -s /aufs-umount.sh ] && /etc/init.d/c-icapd start 1.9 1.10 cat <<EOF 1.11
2.1 --- a/cups/receipt Thu Dec 12 07:48:19 2013 +0000 2.2 +++ b/cups/receipt Thu Dec 12 08:15:03 2013 +0000 2.3 @@ -81,7 +81,7 @@ 2.4 { 2.5 local root 2.6 root=$1 2.7 - if [ -z "$root" -a "$TEXTDOMAIN" != "cook" ]; then 2.8 + if [ -z "$root" -a ! -s /aufs-umount.sh ]; then 2.9 /etc/init.d/cupsd start || continue 2.10 fi 2.11 if ! grep -q ^CUPSD_OPTIONS $root/etc/daemons.conf; then