Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
nakamina committed Oct 1, 2023
1 parent 50672ad commit 66e3381
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions home/.chezmoiscripts/run_once_50-install-misc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ function install_brew_packages() {
done

if [[ ${#missing_packages[@]} -gt 0 ]]; then
brew install --force "${missing_packages[@]}"
if "${CI:-false}"; then
brew info "${missing_packages[@]}"
else
brew install --force "${missing_packages[@]}"
fi
fi
}

Expand All @@ -60,7 +64,11 @@ function install_brew_cask_packages() {
done

if [[ ${#missing_packages[@]} -gt 0 ]]; then
brew install --cask --force "${missing_packages[@]}"
if "${CI:-false}"; then
brew info --cask "${missing_packages[@]}"
else
brew install --cask --force "${missing_packages[@]}"
fi
fi
}

Expand Down

0 comments on commit 66e3381

Please sign in to comment.