This commit is contained in:
Nikolai Rodionov
2023-01-25 12:54:22 +01:00
parent e6e9c7b248
commit 9e23345df9
12 changed files with 61 additions and 0 deletions

15
scripts/download_for_arch.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/sh
case $(uname -m) in
"arm64"|"aarch64")
PLATFORM="arm64"
;;
"x86_64")
PLATFORM="amd64"
;;
*)
echo "Unsuported target"
exit 1
;;
esac
echo "Downloading $2 from $1"
curl -LJO $1 $2