On Thu, Oct 28, 2010 at 09:50:36AM +1100, nathans@xxxxxxxxxx wrote:
>
> Hi Arthur,
>
> Hmmm - at the time it seemed like a good idea - the contents
> of lsb-release on Ubuntu are such that this was useful. But,
> it looks like the contents are completely different on other
> distros ... argh!
>
> The logic should change I think, to instead of defaulting to
> /etc/lsb-release, to rather only using it as a fallback if no
> better source of this info can be found - what do you think?
>
Hi Nathan;
Reordering the list of files that are checked for
'kernel.uname.distro' data so that "/etc/lsb-release" is
the final entry would solve the problem that was reported to
me. As long as that won't break things for other distributions
it seems like the way to go.
--
Arthur
|