diff --git a/scripts/install.preview.sh b/scripts/install.preview.sh index 5789022..292cbb4 100644 --- a/scripts/install.preview.sh +++ b/scripts/install.preview.sh @@ -67,7 +67,7 @@ main() { local osArch="amd64" - if [ "$os_arch" = "arm64" ] || [ "$os_type" = "aarch64" ]; then + if [ "$os_arch" = "arm64" ] || [ "$os_arch" = "aarch64" ]; then osArch="arm64" fi local url="https://packages.vmr.us.kg/$osType/$osArch" diff --git a/scripts/install.sh b/scripts/install.sh index 370a4ce..ce46eb6 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -54,7 +54,7 @@ main() { local osArch="amd64" - if [ "$os_arch" = "arm64" ] || [ "$os_type" = "aarch64" ]; then + if [ "$os_arch" = "arm64" ] || [ "$os_arch" = "aarch64" ]; then osArch="arm64" fi