Is something on the lines of:
cat /etc/apt/sources.list|grep '^deb '|grep 'http://security\.'|head -n 1|grep -o 'debian|ubuntu' a safe idea or does it already make too many assumptions? Otherwise, what methods do you use to tell them apart from the shell? Thanks, // Oliver -- --------------------------------------------------- DDKWizard and DDKBUILD: <http://ddkwizard.assarbad.net> Trunk (potentially unstable) version: <http://ddkwizard.assarbad.net/trunk/ddkbuild.cmd> -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

