[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to identify distro, lsb-release is broken



Stephen Birch wrote:
Hi

I need to find a way of identifying the name of an installed
distrobution. This mechanism should be able to differentiate

woody
sarge
etch
sid
hoary
breezy
dapper

How about to check/grep/process /etc/debian_version installed by base-files?
$ cat /etc/debian_version
testing/unstable

Does ubuntu has a /etc/ubuntu_version ?

$ apt-file search debian_version
base-files: etc/debian_version

This is only one idea...

Carlos C Soto :: eclipxe



Reply to: