mirror of
https://github.com/denisidoro/navi
synced 2025-02-16 12:38:28 +00:00
Fix install script
This commit is contained in:
parent
04dcf79a34
commit
6ed7cd12b5
1 changed files with 3 additions and 2 deletions
|
@ -217,8 +217,9 @@ get_target() {
|
|||
local target
|
||||
case "$archi" in
|
||||
Darwin*) target="x86_64-osx" ;;
|
||||
*x86*) $is_android && target="aarch64-linux-android" || target="x86_64-unknown-linux-musl" ;;
|
||||
*arm*|*aarch*) $is_android && target="armv7-linux-androideabi" || target="armv7-unknown-linux-musleabihf" ;;
|
||||
*x86*) $is_android && target="" || target="x86_64-unknown-linux-musl" ;;
|
||||
*aarch*) $is_android && target="aarch64-linux-android" || target="armv7-unknown-linux-musleabihf" ;;
|
||||
*arm*) $is_android && target="armv7-linux-androideabi" || target="armv7-unknown-linux-musleabihf" ;;
|
||||
*) target="" ;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue