Skip to content

Commit e44484e

Browse files
Merge pull request #45 from nodeg/macos_updates
Fixes for macOS
2 parents 3a39e52 + edc5452 commit e44484e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

uyuni-docs-helper

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,7 @@ VALID_PRODUCTS_LONG_COMMA=$(echo ${VALID_PRODUCTS_LONG[*]}|sed 's/ /, /g')
4545
# use gnu-getopt on macOS
4646
getopt_for_macos() {
4747
if [ "$(uname -s)" == 'Darwin' ]; then
48-
if [ ! -f /usr/local/opt/gnu-getopt/bin/getopt ]; then
49-
if [ "${SHELL}" == "/usr/local/bin/fish" ]; then
50-
print_error "The fish shell is not supported (yet), please use bash or zsh for now"
51-
exit 1
52-
fi
48+
if [ ! -f /opt/homebrew/opt/gnu-getopt/bin/getopt ]; then
5349
print_error "Please install gnu-getopt via Homebrew with: brew install gnu-getopt"
5450
exit 1
5551
else

0 commit comments

Comments
 (0)