From 5a706ed246392c1ce39c47a648cb93e2996e80d3 Mon Sep 17 00:00:00 2001 From: mbugeia Date: Tue, 11 Oct 2016 21:44:19 +0200 Subject: [PATCH] Update version to 0.9.97 and improve error msg --- scripts/_common.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 16e9278..07bd428 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,7 +5,7 @@ APPNAME="gogs" # Gogs version -VERSION="0.9.71" +VERSION="0.9.97" # Detect the system architecture to download the right tarball case $(arch) in @@ -15,7 +15,8 @@ i386|i686) ARCHITECTURE="386" ;; armhf|armel|armv7l) ARCHITECTURE="arm" ;; -*) echo "Unable to detect your achitecture" && exit 1 +*) echo 'Unable to detect your achitecture, please open a bug describing \ + your hardware and the result of the command "arch".' && exit 1 ;; esac