:: [DNG] Devuan /etc/os-relase - no VE…
Top Page
Delete this message
Reply to this message
Author: hal
Date:  
To: dng
New-Topics: Re: [DNG] Embrace extend and extinguish (was: Devuan /etc/os-relase - no VERSION info?)
Subject: [DNG] Devuan /etc/os-relase - no VERSION info?
Hi,
I'm in the middle of patching a bunch of systems (Ubuntu, Devuan and
Debian flavors) and noticed Devuan's /etc/os-release file doesn't
contain any VERSION tags.

This file comes in handy for parsing from shell scripts when lsb_release
isn't installed or /etc/issue has been customized.

Is this intended or just an oversight?


Devuan Ascii
--------------------------------------------
PRETTY_NAME="Devuan GNU/Linux ascii"
NAME="Devuan GNU/Linux"
ID=devuan
ID_LIKE=debian
HOME_URL="https://www.devuan.org/"
SUPPORT_URL="https://devuan.org/os/community"
BUG_REPORT_URL="https://bugs.devuan.org/"



Debian
--------------------------------------------
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"



Ubuntu 16.04
--------------------------------------------
NAME="Ubuntu"
VERSION="16.04.6 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.6 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial



Ubuntu 18.04
--------------------------------------------
NAME="Ubuntu"
VERSION="18.04.4 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.4 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic