On Sat, 2 Jun 2012, Jeremy Bicha wrote:
> Package: base-files
> Version: 6.8
> Severity: wishlist
>
> As requested in http://bugs.debian.org/659853 Debian now includes
> /etc/os-release. Therefore, I'd like to drop the lsb-release
> dependency from epiphany-browser. We use three pieces of info for the
> OS-specific part of the useragent: the distro name, the distro
> version, and the package version. Those three pieces (and some
> punctuation) currently result in "Debian/unstable (3.4.2-1)" or
> "Ubuntu/12.10 (3.5.1-0ubuntu1)".
>
> I'd like to use the ID and VERSION fields of /etc/os-release to fill
> in these fields, but Debian's implementation does not include a
> VERSION entry except for stable releases.
Which is right. Wheezy is not a version, it's just a codename.
It will become Debian 7.0 when it's stable, but it's wrong to think
of "wheezy" as a version.
I feel that you are trying to fix an aesthetic bug in the user-agent
by requesting that everybody else does things in a different way.
If you want "wheezy", why can't you do this if VERSION is empty?
echo $PRETTY_NAME | awk '{ print $3 }' | sed -e 's#/.*##'
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]