On Sun, 03 Jun 2012, Santiago Vila wrote: > If you want "wheezy", why can't you do this if VERSION is empty? > > echo $PRETTY_NAME | awk '{ print $3 }' | sed -e 's#/.*##'
To avoid such hackery, you could export a DEBIAN_CODENAME variable. /etc/os-release allows for vendor-specific fields. Cheers, -- Raphaël Hertzog ◈ Debian Developer Get the Debian Administrator's Handbook: → http://debian-handbook.info/get/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org