toolkit/iso/empanadas/images/get_arch

13 lines
206 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
case "$(uname -m)" in
x86_64 | amd64)
echo -n "amd64"
;;
arm64 | aarch64)
echo -n "arm64"
;;
*)
echo -n "$(uname -m)"
;;
esac