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

fix: os-release should be checked last #88

Merged

Conversation

guillemcanal
Copy link
Contributor

@guillemcanal guillemcanal commented Apr 2, 2019

fixes #67

Most Linux distributions provide an /etc/os-release file as documented here

In order to guess accurately which distribution is used on a system, given the current implementation, /etc/os-release should be checked last.

Copy link

@iComputer7 iComputer7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, this seems to make Alpine correctly identify as Alpine instead of Raspbian.

@retrohacker
Copy link
Owner

LGTM 👍 thanks @guillemcanal

@retrohacker retrohacker merged commit 87e7dce into retrohacker:master Aug 1, 2019
@iliocatallo
Copy link

Hi,

Now that this issue has been fixed, would you consider publishing a minor release on npm?

Thank you!

@JustusNBB
Copy link

Please 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

Successfully merging this pull request may close these issues.

Incorrectly identifies Alpine Linux as Raspbian
5 participants