perf: install env checks
This commit is contained in:
@@ -5,11 +5,10 @@
|
||||
# (macOS only) Install iTerm2.
|
||||
#
|
||||
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
if ! brew list --cask iterm2 &>/dev/null; then
|
||||
brew install --cask iterm2
|
||||
fi
|
||||
log_pass "iTerm2 installed successfully!"
|
||||
else
|
||||
log_warn "Skipping: Not macOS"
|
||||
# macOS only
|
||||
[[ "$DOTS_OS" != "macos" ]] && { log_warn "Skipping: Not macOS"; return 0; }
|
||||
|
||||
if ! brew list --cask iterm2 &>/dev/null; then
|
||||
brew install --cask iterm2
|
||||
fi
|
||||
log_pass "iTerm2 installed successfully!"
|
||||
|
||||
Reference in New Issue
Block a user