--- 20-setup-apt.old 2009-09-20 19:43:37.000000000 -0400 +++ 20-setup-apt 2009-09-20 19:56:00.000000000 -0400 @@ -78,7 +78,7 @@ # # 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 -E '^deb.*security\.(debian\.org|ubuntu\.com)' /etc/apt/sources.list >/dev/null 2>/dev/null ) ; then cat <> ${prefix}/etc/apt/sources.list #