From 1067bc6a2716907b90abfae0f39a3a095a5ba0fc Mon Sep 17 00:00:00 2001 From: David Prevot Date: Thu, 12 Oct 2023 15:25:48 +0200 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20recommend=20preferences=20for?= =?UTF-8?q?=20backports=20anymore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to “NotAutomatic: yes” and “ButAutomaticUpgrades: yes”, backports packages are not pulled by default anymore since Squeeze. --- linux/evocheck.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/linux/evocheck.sh b/linux/evocheck.sh index 826430f..fe32e92 100755 --- a/linux/evocheck.sh +++ b/linux/evocheck.sh @@ -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