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

Cannot detect openSUSE 15.3 #7

Open
pawel-kedzior-sw opened this issue Oct 28, 2021 · 0 comments
Open

Cannot detect openSUSE 15.3 #7

pawel-kedzior-sw opened this issue Oct 28, 2021 · 0 comments

Comments

@pawel-kedzior-sw
Copy link

The library fails to properly recognize openSUSE 15.3

osutil.GetDisplay()
expected: openSUSE
actual: Linux

distro := osutil.GetDist()

expected: distro.Display to be openSUSE
actual: distro.Display is empty

expected: distro.Codename to be Leap
actual: distro.Codename is empty

Notes:
distro.Release is correct, 15.3

lsb_release - command is not available

cat /etc/os-release returns

NAME="openSUSE Leap"
VERSION="15.3"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.3"
PRETTY_NAME="openSUSE Leap 15.3"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.3"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"

There is no file /etc/SuSE-release

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

No branches or pull requests

1 participant