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

Development environment documentation for openSUSE Tumbleweed #9479

Merged
merged 3 commits into from Mar 18, 2024

Conversation

nellfs
Copy link
Contributor

@nellfs nellfs commented Mar 17, 2024

What does this PR do?

  • Documentation

How did you verify your code works?

I made a change in CMakeLists.txt to add openSUSE Tumbleweed to the list of Linux distributions, I tested this PR on my computer and on a fresh virtual machine to make sure that bun setup works. 😊

@nellfs nellfs changed the title Documentation for development environment for openSUSE Tumbleweed Development environment documentation for openSUSE Tumbleweed Mar 17, 2024
…butions in CMakeLists.txt"

This reverts commit 93faed8.
Copy link
Collaborator

@paperdave paperdave left a comment

Choose a reason for hiding this comment

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

thank you for documenting more distros. see comment about simplifying a regular expression

@@ -278,7 +278,7 @@ endif()
if(UNIX AND NOT APPLE)
execute_process(COMMAND grep -w "NAME" /etc/os-release OUTPUT_VARIABLE LINUX_DISTRO)

if(${LINUX_DISTRO} MATCHES "NAME=\"(Arch|Manjaro|Artix) Linux\"\n")
if(${LINUX_DISTRO} MATCHES "NAME=\"(Arch|Manjaro|Artix) Linux\"|NAME=\"openSUSE Tumbleweed\"\n")
Copy link
Collaborator

Choose a reason for hiding this comment

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

can you change this so that it is just NAME="(all the distros)" instead of an | on the outside, will make this simpler

Copy link
Contributor Author

@nellfs nellfs Mar 18, 2024

Choose a reason for hiding this comment

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

Unlike other distros, openSUSE does not get the "Linux" name after the distro name

@Jarred-Sumner Jarred-Sumner merged commit ca97a75 into oven-sh:main Mar 18, 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.

None yet

3 participants