listchangesconf: Handle buster case
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Benoît S. 2019-07-05 10:24:53 +02:00
parent bed8d9d59a
commit ea005c273b

View file

@ -263,9 +263,9 @@ check_mountfstab() {
fi
}
check_listchangesconf() {
if is_debian_stretch; then
if is_debian_stretch || is_debian_buster; then
if is_installed apt-listchanges; then
failed "IS_LISTCHANGESCONF" "apt-listchanges must not be installed on Stretch"
failed "IS_LISTCHANGESCONF" "apt-listchanges must not be installed on Debian >=9"
fi
else
if [ -e "/etc/apt/listchanges.conf" ]; then