Fix: Changes to have command usage

This commit is contained in:
2023-05-05 22:59:14 +03:00
parent edd56c80eb
commit e5fe49834d
6 changed files with 24 additions and 8 deletions

View File

@@ -4,6 +4,12 @@
# Ismo Vuorinen <https://github.com/ivuorinen> 2018
#
[ "$(uname)" != "Darwin" ] && echo "Not a macOS system" && exit 0
! have xcode-select \
&& msg_err "xcode-select could not be found, skipping" \
&& exit 0
# Ask for the administrator password upfront
sudo -v