1
0
mirror of synced 2026-01-27 20:17:35 +00:00

Do not add security support if we're installing Sid

This commit is contained in:
Axel Beckert
2010-05-23 21:40:30 +02:00
parent df82d28c3c
commit e1c1793232

View File

@@ -76,9 +76,11 @@ E_O_APT
#
# If the host system has security support then enable that here too.
# If the host system has security support then enable that here, too,
# except if we're installing Debian Unstable.
#
if ( test -e /etc/apt/sources.list && \
if ( test "${dist}" '!=' 'sid' && test "${dist}" '!=' 'unstable' && \
test -e /etc/apt/sources.list && \
grep ^deb.*security -r /etc/apt/sources.list /etc/apt/sources.list.d >/dev/null 2>/dev/null ) ; then
cat <<E_O_APT >> ${prefix}/etc/apt/sources.list