Commit 47b94002 authored by ale's avatar ale

Improve error message

parent af68eea3
Pipeline #4682 failed with stages
in 1 minute and 26 seconds
......@@ -2,13 +2,14 @@
RESTIC_VERSION=${1:-0.9.1}
case `dpkg-architecture -qDEB_BUILD_ARCH` in
dpkg_arch=`dpkg-architecture -qDEB_BUILD_ARCH`
case "$dpkg_arch" in
amd64) ARCH=amd64 ;;
i686) ARCH=386 ;;
armel) ARCH=arm ;;
armhf) ARCH=arm64 ;;
*)
echo "Unsupported architecture!" >&2
echo "Unsupported architecture: $dpkg_arch" >&2
exit 1
;;
esac
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment