:: Re: [DNG] Devuan /etc/os-relase - n…
Inizio della pagina
Delete this message
Reply to this message
Autore: Svante Signell
Data:  
To: hal, dng
Oggetto: Re: [DNG] Devuan /etc/os-relase - no VERSION info?
On Sat, 2020-02-01 at 05:55 -0600, hal wrote:
> 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?


On Devuan/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/"