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

Update distro inference strategy to handle dnf based systems #323

Conversation

gabriel-ss
Copy link
Contributor

Addresses #322.

Currently, the script isn't able to handle generic dnf distros. It is not uncommon for dnf systems to have yum as a symlink for the dnf executable, allowing the script to work by using the RHEL fallback, but for those who don't, the installation just fails.

This PR updates the distro detection strategy to handle generic dnf systems by adding Fedora Rawhide as a fallback if dnf is detected in an unknown distro.

@straight-shoota straight-shoota merged commit 5f6fcad into crystal-lang:master Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants