Skip to content

Commit

Permalink
install.sh check if running in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
boldandbrad committed Nov 10, 2023
1 parent a5af3c7 commit 05970a5
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,14 @@ function update_system () {
return
fi

# update macOS system software
if [ "$SYSTEM_TYPE" = "Darwin" ]; then
$DOTFILES/scripts/macos/update_system.sh
# check if running in CI
if [ "${CI}" = false ]; then
# update macOS system software
if [ "$SYSTEM_TYPE" = "Darwin" ]; then
$DOTFILES/scripts/macos/update_system.sh
fi
else
echo -e "\nSkipping system updates. Running in CI."
fi
}

Expand Down

0 comments on commit 05970a5

Please sign in to comment.