mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 23:20:23 +00:00
Fix install script for macos
This commit is contained in:
parent
8f49c35aca
commit
368612b70f
1 changed files with 18 additions and 16 deletions
|
@ -206,6 +206,7 @@ while getopts 'sv:' OPTION; do
|
|||
esac
|
||||
done
|
||||
|
||||
if [ "$(uname -s)" = "Linux" ]; then
|
||||
if ! [ -x "$(command -v apt)" ] && ! [ -x "$(command -v rpm)" ] && [ -x "$(command -v pacman)" ]; then
|
||||
info "Installing from AUR at $aur"
|
||||
rm -rf "/tmp/xpipe_aur" || true
|
||||
|
@ -225,6 +226,7 @@ if ! [ -x "$(command -v apt)" ] && ! [ -x "$(command -v rpm)" ] && ! [ -x "$(com
|
|||
info "https://github.com/xpipe-io/xpipe#portable"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
download_archive="$(
|
||||
download_release "$repo" "$version" "$arch"
|
||||
|
|
Loading…
Reference in a new issue