change arch to uname -m for better use

This commit is contained in:
白日梦主义
2026-03-11 01:18:19 +08:00
committed by GitHub
parent 03e905e79d
commit f9826e0efd

View File

@@ -62,7 +62,7 @@ _wget() {
cmd=$(type -P apt-get || type -P yum || type -P zypper) cmd=$(type -P apt-get || type -P yum || type -P zypper)
# x64 # x64
case $(arch) in case $(uname -m) in
amd64 | x86_64) amd64 | x86_64)
is_arch="amd64" is_arch="amd64"
;; ;;