[ale] Universal way to determine distro?
Thomas Stromberg
lists at stromberg.org
Fri Jul 21 09:19:54 EDT 2006
On 21 jul 2006, at 09.15, Jeff Lightner wrote:
> I agree it's fairly neat. I hadn't heard of the lsb_release command
> before.
>
> The script worked on my old RH 7.3 system as well as my Fedora Core 4
> and Fedora Core 5.
>
> By the way - the reason it used the else on FC 5 is because FC 5 has
> /etc/lsb-release.d directory rather than just the /etc/lsb-release
> file.
> He referenced this directory later in what he wrote but didn't test
> for
> it at beginning.
Cool. Thanks for fixing up the detection. I've updated my ~/.zprofile
here with it. As you can tell, I haven't logged into a Fedora box for
a while.
// Thomas Str?mberg
// http://toadstool.se/
// +1 678 773 9475
More information about the Ale
mailing list