Ted Mielczarek schrieb:
> I think this is standardized as /etc/lsb-release on most modern distros.
Not so sure there is a real standard yet - and we don't only support
ultra-modern distros anyhow.
Here's what I'm seeing on my openSUSE Factory (i.e. the bleeding-edge
> ls -l /etc/*-release
-rw-r--r-- 1 root root 110 17. Feb 20:42 /etc/lsb-release
-rw-r--r-- 1 root root 207 14. Mär 11:46 /etc/os-release
-rw-r--r-- 1 root root 68 14. Mär 11:46 /etc/SuSE-release
> cat /etc/lsb-release
> cat /etc/os-release
VERSION="12.2 Milestone 2 (Mantis)"
PRETTY_NAME="openSUSE 12.2 Milestone 2 (Mantis) (x86_64)"
> cat /etc/SuSE-release
openSUSE 12.2 Milestone 2 (x86_64)
VERSION = 12.2
CODENAME = Mantis
I guess os-release is nearest to what could become usable, but I don't
think it's present in too many distros yet, esp. given what Andrew
replied. Also, usually, what we really need to know when we are seeing
problems are specific versions of several packages, e.g. GTK, and it's
easy to install newer versions of those packages on an older distro,