wok-current diff squidguard/receipt @ rev 20119
slitaz-base-files (333), slitaz-boot-scripts (445), slitaz-configs (313), slitaz-tools (1025), tazbug (152), tazinst (93), tazirc (22), tazlito (469), tazpanel (617), tazweb (208): revision of german messages
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 14 10:45:51 2017 +0200 (2017-10-14) |
parents | 9e01bc6321ea |
children | be2ab6ab8f7e |
line diff
1.1 --- a/squidguard/receipt Sun Dec 20 15:13:45 2015 +0100 1.2 +++ b/squidguard/receipt Sat Oct 14 10:45:51 2017 +0200 1.3 @@ -67,13 +67,13 @@ 1.4 { 1.5 chown -R nobody "$1"/var/lib/squidGuard/* 1.6 # Recharge squid config 1.7 - [ -z "$1" ] && [ -x $(which squid) ] && $(which squid) -k reconfigure 2> /dev/null 1.8 + [ "$1" ] || { [ -x $(which squid) ] && $(which squid) -k reconfigure 2> /dev/null; } 1.9 } 1.10 1.11 post_remove() 1.12 { 1.13 # Recharge squid config 1.14 - [ -z "$1" ] && [ -x $(which squid) ] && $(which squid) -k reconfigure 2> /dev/null 1.15 + [ "$1" ] || { [ -x $(which squid) ] && $(which squid) -k reconfigure 2> /dev/null; } 1.16 } 1.17 1.18 check_config()