Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support get os-release for Linux #38

Merged
merged 1 commit into from
Sep 11, 2019
Merged

Conversation

FillZpp
Copy link
Owner

@FillZpp FillZpp commented Sep 10, 2019

Signed-off-by: Siyu Wang FillZpp.pub@gmail.com

Support get os-release info For Linux, a typical /etc/os-release file like this:

NAME="Ubuntu"
VERSION="18.04.2 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.2 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

It contains information like name/version of your Linux distribution.

Refs: #5

Signed-off-by: Siyu Wang <FillZpp.pub@gmail.com>
@FillZpp FillZpp merged commit 558fb59 into master Sep 11, 2019
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.

None yet

1 participant