mirror of
https://github.com/YunoHost-Apps/gogs_ynh.git
synced 2024-09-03 20:36:23 +02:00
Update version to 0.9.97 and improve error msg
This commit is contained in:
parent
b4eda1192c
commit
5a706ed246
1 changed files with 3 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
||||||
APPNAME="gogs"
|
APPNAME="gogs"
|
||||||
|
|
||||||
# Gogs version
|
# Gogs version
|
||||||
VERSION="0.9.71"
|
VERSION="0.9.97"
|
||||||
|
|
||||||
# Detect the system architecture to download the right tarball
|
# Detect the system architecture to download the right tarball
|
||||||
case $(arch) in
|
case $(arch) in
|
||||||
|
@ -15,7 +15,8 @@ i386|i686) ARCHITECTURE="386"
|
||||||
;;
|
;;
|
||||||
armhf|armel|armv7l) ARCHITECTURE="arm"
|
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
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue