Skip to content

Conversation

@noraj
Copy link

@noraj noraj commented Jun 7, 2019

Use the more standard and universal /etc/os-release. Read http://0pointer.de/blog/projects/os-release.html

[1] Yes, multitude, there's at least: /etc/redhat-release, /etc/SuSE-release, /etc/debian_version, /etc/arch-release, /etc/gentoo-release, /etc/slackware-version, /etc/frugalware-release, /etc/altlinux-release, /etc/mandriva-release, /etc/meego-release, /etc/angstrom-version, /etc/mageia-release. And some distributions even have multiple, for example Fedora has already four different files.

PS : Also replace /etc/system-release and /etc/lsb-release

Use the more standard and universal `/etc/os-release`. Read http://0pointer.de/blog/projects/os-release.html

> [1] Yes, multitude, there's at least: /etc/redhat-release, /etc/SuSE-release, /etc/debian_version, /etc/arch-release, /etc/gentoo-release, /etc/slackware-version, /etc/frugalware-release, /etc/altlinux-release, /etc/mandriva-release, /etc/meego-release, /etc/angstrom-version, /etc/mageia-release. And some distributions even have multiple, for example Fedora has already four different files.

PS : Also replace `/etc/system-release` and `/etc/lsb-release`
@gorrabot gorrabot force-pushed the master branch 9 times, most recently from 3dbb569 to cc98255 Compare August 3, 2022 13:26
@gorrabot gorrabot force-pushed the master branch 2 times, most recently from 6cf8535 to 57fe1a6 Compare February 16, 2023 16:23
@gorrabot gorrabot force-pushed the master branch 3 times, most recently from e3b26f9 to f56dfca Compare April 12, 2023 20:15
@gorrabot gorrabot force-pushed the master branch 2 times, most recently from b43af42 to a4a8989 Compare June 2, 2023 18:40
@gorrabot gorrabot force-pushed the master branch 2 times, most recently from f8bb1df to b264b2b Compare July 15, 2023 13:16
@gorrabot gorrabot force-pushed the master branch 2 times, most recently from 7ae84b5 to a7c8133 Compare February 9, 2024 16:29
@gorrabot gorrabot force-pushed the master branch 2 times, most recently from 4acca08 to f6abaab Compare March 14, 2024 01:04
@gorrabot gorrabot force-pushed the master branch 2 times, most recently from 81e546e to 9e80695 Compare August 28, 2024 18:57
@gorrabot gorrabot force-pushed the master branch 2 times, most recently from 420494f to 9e16868 Compare January 13, 2025 12:33
@gorrabot gorrabot force-pushed the master branch 4 times, most recently from ebbd196 to ea8fc90 Compare July 21, 2025 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant