backupiso: Add support for aarch64

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2018-11-08 16:02:17 +00:00
parent 8a0bc03450
commit 492b0b7c18

View File

@@ -6,17 +6,14 @@ COREVER=$(cat /opt/pakfire/db/core/mine)
arch=$(uname -m)
case $arch in
case "${arch}" in
aarch64|x86_64)
;;
i?86)
arch="i586"
echo "Your arch is $arch"
;;
x86_64)
arch="x86_64"
echo "Your arch is $arch"
;;
*)
echo "Arch is not supported"
echo "Arch is not supported" >&2
exit 1
;;
esac