From f007a6e7c5aaa54eeb74755f8acbc95524523652 Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Fri, 26 Mar 2010 20:52:43 +0100 Subject: [PATCH] Also check /etc/apt/sources.list.d for security updates --- hooks/debian/20-setup-apt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/debian/20-setup-apt b/hooks/debian/20-setup-apt index 8388ca3..e008d39 100755 --- a/hooks/debian/20-setup-apt +++ b/hooks/debian/20-setup-apt @@ -79,7 +79,7 @@ E_O_APT # If the host system has security support then enable that here too. # if ( test '!' -e /etc/apt/sources.list || \ - grep ^deb.*security /etc/apt/sources.list >/dev/null 2>/dev/null ) ; then + grep ^deb.*security -r /etc/apt/sources.list /etc/apt/sources.list.d >/dev/null 2>/dev/null ) ; then cat <> ${prefix}/etc/apt/sources.list #