Andreas Tille <[EMAIL PROTECTED]> writes: > Everybody can change this to something else. Isn't it better > to implement a > /usr/bin/debian-release > that contains an option to get the real version number that > is hard coded anywhere if /etc/debian_version was changed?
Why not just use lsb_release(1)? [EMAIL PROTECTED]:~$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux testing (etch) Release: testing Codename: etch [EMAIL PROTECTED]:~$ But I have no idea where these information come from. According to /etc/debian_version I'm running'lenny/sid'. [... less /usr/bin/lsb_release ... ] Hmmm, lsb_release seems to parse 'apt-cache policy' and hardcodes the 'testing is etch' connection. //Makholm -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]