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 shellcheck in macOS preparation script #77

Merged
merged 1 commit into from
Jun 25, 2024
Merged

Conversation

GabLeRoux
Copy link
Member

@GabLeRoux GabLeRoux commented Jun 25, 2024

Replaced if [ $? -eq 0 ]; then with if softwareupdate --install-rosetta --agree-to-license; then in the check_and_install_rosetta function to check the exit status directly.

Other changes are basically white spaces handled by Jetbrains IntelliJ Idea in there

This is a followup PR on top of #76

CleanShot 2024-06-25 at 16 33 10@2x

Replaced `if [ $? -eq 0 ]; then` with `if softwareupdate --install-rosetta --agree-to-license; then` in the `check_and_install_rosetta` function to check the exit status directly.
@GabLeRoux GabLeRoux merged commit a1ddf09 into main Jun 25, 2024
1 of 2 checks passed
@GabLeRoux GabLeRoux deleted the fix-shell-check branch June 25, 2024 14:31
@GabLeRoux GabLeRoux changed the title Fix preparation script for macOS for shell check Fix shellcheck in macOS preparation script Jun 25, 2024
@GabLeRoux GabLeRoux restored the fix-shell-check branch November 22, 2024 01:38
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.

2 participants