:: Re: [DNG] Devuan /etc/os-relase - n…
Forside
Slet denne besked
Besvar denne besked
Skribent: Dr. Nikolaus Klepp
Dato:  
Til: dng
Emne: Re: [DNG] Devuan /etc/os-relase - no VERSION info?
Anno domini 2020 Sat, 1 Feb 05:55:05 -0600
hal scripsit:
> 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?


It's present on beowulf:

$ cat /etc/os-release
PRETTY_NAME="Devuan GNU/Linux 3 (beowulf)"
NAME="Devuan GNU/Linux"
VERSION_ID="3"
VERSION="3 (beowulf)"
VERSION_CODENAME=beowulf
ID=debian
ID_LIKE=debian
HOME_URL="https://www.devuan.org/"
SUPPORT_URL="https://devuan.org/os/community"
BUG_REPORT_URL="https://bugs.devuan.org/"


>
>
> 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
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>




--
Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...