mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-13 04:22:58 +02:00
backupiso: Add support for aarch64
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user