Skip to content

Commit

Permalink
fix(setup): Return false when non-macOS
Browse files Browse the repository at this point in the history
`isDarwin` and `&&` returns false when the line is the end of func.
  • Loading branch information
5ouma committed Apr 1, 2024
1 parent 89cbe9b commit 54abda6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,9 @@ installApps() {
(! isDarwin) && export HOMEBREW_BUNDLE_BREW_SKIP='5ouma/formula/mksei 5ouma/formula/mli blacktop/tap/lporg zackelia/formulae/bclm'
(gum run "Satisfying Brewfile's dependencies..." -- brew bundle check --file="$data/Brewfile") && skip
brew update && brew bundle install --no-lock --file="$data/Brewfile"
(isDarwin) && sudo xcodebuild -license accept
if (isDarwin); then
sudo xcodebuild -license accept
fi
} && run 'installApps' '## 📲 Install commands and apps'

changeLoginShell() {
Expand Down

0 comments on commit 54abda6

Please sign in to comment.