mirror of
https://github.com/alexellis/arkade.git
synced 2022-05-07 18:22:49 +03:00
20 lines
238 B
Bash
Executable File
20 lines
238 B
Bash
Executable File
#!/bin/sh
|
|
|
|
getPackage() {
|
|
suffix=""
|
|
arch=$(uname -m)
|
|
case $arch in
|
|
"aarch64")
|
|
suffix="-arm64"
|
|
;;
|
|
esac
|
|
case $arch in
|
|
"armv6l" | "armv7l")
|
|
suffix="-armhf"
|
|
;;
|
|
esac
|
|
}
|
|
|
|
getPackage
|
|
echo ${suffix}
|