]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/scripts/backupiso
set version in backupiso and also pakfire core to 140
[ipfire-2.x.git] / src / scripts / backupiso
index 5d85d6e79c1a3d8d3881897efb09cccc15370f2f..220e619d450d48f6e7a11d7006af9df662035a6a 100644 (file)
@@ -1,22 +1,19 @@
 #!/bin/sh
 
 # FIXME: edit this lines before release
-IPFVER=2.21
+IPFVER=2.25
 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