1
0
mirror of synced 2026-01-13 15:17:30 +00:00

Refactoring: Make check for sources.list more readable

This commit is contained in:
Axel Beckert 2010-05-23 21:38:11 +02:00
parent c03029e0c6
commit df82d28c3c

View File

@ -78,7 +78,7 @@ E_O_APT
#
# If the host system has security support then enable that here too.
#
if ( test '!' -e /etc/apt/sources.list || \
if ( 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