Add verbose message for IS_LISTCHANGESCONF
This commit is contained in:
parent
fd5b9cd86c
commit
83f4b01789
|
@ -266,9 +266,11 @@ if [ -e /etc/debian_version ]; then
|
||||||
|
|
||||||
if [ "$IS_LISTCHANGESCONF" = 1 ]; then
|
if [ "$IS_LISTCHANGESCONF" = 1 ]; then
|
||||||
if is_debianversion stretch; then
|
if is_debianversion stretch; then
|
||||||
is_installed apt-listchanges && echo 'IS_LISTCHANGESCONF FAILED!'
|
is_installed apt-listchanges && echo 'IS_LISTCHANGESCONF FAILED!' \
|
||||||
|
&& verbose "apt-listchanges must not be installed on Stretch"
|
||||||
else
|
else
|
||||||
test -e /etc/apt/listchanges.conf && grep -E "(which=both|confirm=1)" /etc/apt/listchanges.conf | wc -l | grep -q ^2$ || echo 'IS_LISTCHANGESCONF FAILED!'
|
test -e /etc/apt/listchanges.conf && grep -E "(which=both|confirm=1)" /etc/apt/listchanges.conf | wc -l | grep -q ^2$ || echo 'IS_LISTCHANGESCONF FAILED!' \
|
||||||
|
&& verbose "apt-listchanges config is incorrect"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue