Fixes and closes #29 by adding silent grep

This commit is contained in:
Benoît S. 2019-02-19 11:24:01 +01:00
parent 9be91392f3
commit 65c97eb7be

View file

@ -768,7 +768,7 @@ if [ -e /etc/debian_version ]; then
if [ "$IS_SQUIDEVOLINUXCONF" = 1 ]; then
if is_debianversion stretch && is_installed squid; then
(grep -q "^CONFIG=/etc/squid/evolinux-defaults.conf$" /etc/default/squid \
(grep -qs "^CONFIG=/etc/squid/evolinux-defaults.conf$" /etc/default/squid \
&& test -f /etc/squid/evolinux-defaults.conf \
&& test -f /etc/squid/evolinux-whitelist-defaults.conf \
&& test -f /etc/squid/evolinux-whitelist-custom.conf \