mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-25 14:24:18 +08:00
Merge pull request #857 from adrianN/patch-1
Ignore exit code from which in install_macos_pkg
This commit is contained in:
commit
9003730a53
@ -26,7 +26,7 @@ install_macos_pkg()
|
||||
BIN_NAME=$PKG_NAME
|
||||
fi
|
||||
|
||||
BIN_LOCATION=$(which $BIN_NAME)
|
||||
BIN_LOCATION=$(which $BIN_NAME || true)
|
||||
if [ -z "$BIN_LOCATION" ]; then
|
||||
echo "$PKG_MANAGER install $PKG_NAME"
|
||||
$PKG_MANAGER install "$PKG_NAME"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user