[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Universal way to determine distro?
- Subject: [ale] Universal way to determine distro?
- From: lists at stromberg.org (Thomas Stromberg)
- Date: Fri, 21 Jul 2006 09:19:54 -0400
- In-reply-to: <[email protected]>
- References: <[email protected]>
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