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

Treat linuxmint the same as ubuntu. fixes #6591 #6592

Merged
merged 2 commits into from
Sep 3, 2024

Conversation

longrackslabs
Copy link
Contributor

Description

Allows BuildLinux.sh to run on Linux Mint

Tests

  • Clone repo
  • Run BuildLinux.sh per documentation:
    • run 'sudo ./BuildLinux.sh -u'
    • run './BuildLinux.sh -dsir'

@@ -80,7 +80,7 @@ fi

DISTRIBUTION=$(awk -F= '/^ID=/ {print $2}' /etc/os-release)
# treat ubuntu as debian
if [ "${DISTRIBUTION}" == "ubuntu" ]
if [ "${DISTRIBUTION}" == "ubuntu" ] || [ "${DISTRIBUTION}" == "linuxmint" ]
Copy link
Contributor

Choose a reason for hiding this comment

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

I was going to suggest we future proof this by using ID_LIKE= instead. But it does not seem reliable.
https://forums.linuxmint.com/viewtopic.php?t=376664

Copy link
Owner

@SoftFever SoftFever 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
Thank you

@SoftFever SoftFever merged commit 328f74e into SoftFever:main Sep 3, 2024
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.

3 participants