Noticed in 13.1-RC1
:~> cat /etc/SuSE-release
# /etc/SuSE-release is deprecated and will be removed in the future, use /etc/os-release instead
openSUSE 13.1 (x86_64)
VERSION = 13.1
CODENAME = Bottle
:~> cat /etc/os-release
NAME=openSUSE
VERSION="13.1 (Bottle)"
VERSION_ID="13.1"
PRETTY_NAME="openSUSE 13.1 (Bottle) (x86_64)"
ID=opensuse
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:opensuse:13.1"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://opensuse.org/"
ID_LIKE="suse"
eng-int wrote:
>
> Noticed in 13.1-RC1
>
>
> Code:
> --------------------
> :~> cat /etc/SuSE-release
> # /etc/SuSE-release is deprecated and will be removed in the future, use /etc/os-release instead
> openSUSE 13.1 (x86_64)
> VERSION = 13.1
> CODENAME = Bottle
>
> :~> cat /etc/os-release
> NAME=openSUSE
> VERSION=“13.1 (Bottle)”
> VERSION_ID=“13.1”
> PRETTY_NAME=“openSUSE 13.1 (Bottle) (x86_64)”
> ID=opensuse
> ANSI_COLOR=“0;32”
> CPE_NAME=“cpe:/o:opensuse:opensuse:13.1”
> BUG_REPORT_URL=“https://bugs.opensuse.org”
> HOME_URL=“https://opensuse.org/”
> ID_LIKE=“suse”
> --------------------
>
>
Cool. It now adheres to freedesktop standard
http://www.freedesktop.org/software/systemd/man/os-release.html
–
GNOME 3.6.2
openSUSE Release 12.3 (Dartmouth) 64-bit
Kernel Linux 3.7.10-1.16-desktop
cat /etc/os-releaseNAME=openSUSE
VERSION="12.3 (Dartmouth)"
VERSION_ID="12.3"
PRETTY_NAME="openSUSE 12.3 (Dartmouth) (x86_64)"
ID=opensuse
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:opensuse:12.3"
And in 12.3
Even for 12.2
~> cat /etc/os-release
NAME=openSUSE
VERSION="12.2 (Mantis)"
VERSION_ID="12.2"
PRETTY_NAME="openSUSE 12.2 (Mantis) (x86_64)"
ID=opensuse
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:opensuse:12.2"
~> rpm -qf /etc/os-release
openSUSE-release-12.2-1.6.x86_64