From 7cb52884fc74cda1b5580ef2fc12b3d206d6204c Mon Sep 17 00:00:00 2001 From: Josh Mudge Date: Sat, 23 Jun 2018 22:33:17 -0600 Subject: [PATCH] Add ARMv6 support --- install.bash | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install.bash b/install.bash index 543a6d6..848ce4d 100644 --- a/install.bash +++ b/install.bash @@ -20,6 +20,11 @@ if [ -n "$(uname -a | grep x86_64)" ]; then sudo wget -O "/opt/gitea/gitea-$VER" "https://dl.gitea.io/gitea/$VER/gitea-$VER-linux-amd64" fi +# Check if architecure is ARMv6 and download Gitea +if [ -n "$(uname -a | grep armv6l)" ]; then +sudo wget -O "/opt/gitea/gitea-$VER" "https://dl.gitea.io/gitea/$VER/gitea-$VER-linux-arm-6" +fi + # Check if architecure is ARMv7 and download Gitea if [ -n "$(uname -a | grep armv7l)" ]; then sudo wget -O "/opt/gitea/gitea-$VER" "https://dl.gitea.io/gitea/$VER/gitea-$VER-linux-arm-7"