mirror of
https://git.coolaj86.com/coolaj86/gitea-installer.sh.git
synced 2024-12-21 22:06:19 +00:00
Add ARMv6 support
This commit is contained in:
parent
6f2ca3d312
commit
7cb52884fc
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user