#!/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