Hi again, > Can you look in /etc/issue (or maybe /etc/debian_version)? As a matter of fact that was my first naive method. It does work for Debian (unless changed by someone), but on Ubuntu this always contains the same string as far as I saw "squeeze/sid".
However, it could be that I'm on to something with: (which lsb_release > /dev/null && `which lsb_release` --id)|awk '{print $3}' ... does not work on older systems which don't have lsb_release, though. Still looking, // Oliver -- --------------------------------------------------- DDKWizard and DDKBUILD: <http://ddkwizard.assarbad.net> Trunk (potentially unstable) version: <http://ddkwizard.assarbad.net/trunk/ddkbuild.cmd> -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100826000355.45...@gmx.net