forked from evolix/evocheck
Don’t recommend preferences for backports anymore
Thanks to “NotAutomatic: yes” and “ButAutomaticUpgrades: yes”, backports packages are not pulled by default anymore since Squeeze.
This commit is contained in:
parent
42cbd14123
commit
1067bc6a27
|
@ -785,10 +785,6 @@ check_apache2evolinuxconf() {
|
|||
check_backportsconf() {
|
||||
grep -qsE "^[^#].*backports" /etc/apt/sources.list \
|
||||
&& failed "IS_BACKPORTSCONF" "backports can't be in main sources list"
|
||||
if grep -qsE "^[^#].*backports" /etc/apt/sources.list.d/*.list; then
|
||||
grep -qsE "^[^#].*backports" /etc/apt/preferences.d/* \
|
||||
|| failed "IS_BACKPORTSCONF" "backports must have preferences"
|
||||
fi
|
||||
}
|
||||
check_bind9munin() {
|
||||
if is_installed bind9; then
|
||||
|
|
Loading…
Reference in a new issue