1
0
mirror of synced 2026-04-27 12:48:52 +00:00

Just check for the string 'security' in sources.list, so it also matches local and ubuntu mirrors (LP: #309750)

This commit is contained in:
Axel Beckert
2010-03-26 20:46:13 +01:00
parent 24758e4dd3
commit b9c1b50873

View File

@@ -78,7 +78,7 @@ E_O_APT
#
# If the host system has security support then enable that here too.
#
if ( grep ^deb.*security.debian.org /etc/apt/sources.list >/dev/null 2>/dev/null ) ; then
if ( grep ^deb.*security /etc/apt/sources.list >/dev/null 2>/dev/null ) ; then
cat <<E_O_APT >> ${prefix}/etc/apt/sources.list
#