Fix AMD install.

This commit is contained in:
Josh Mudge 2018-06-23 22:02:45 -06:00
parent eb8dfc1af3
commit 6f2ca3d312

View File

@ -17,7 +17,7 @@ sudo chown -R gitea:gitea /opt/gitea/ /var/log/gitea
# Check if architecure is x86 and download Gitea
if [ -n "$(uname -a | grep x86_64)" ]; then
sudo wget -O "/opt/gitea/gitea-$VER" "https://dl.gitea.io/gitea/$VER/gitea-$VER-linux-arm-7"
sudo wget -O "/opt/gitea/gitea-$VER" "https://dl.gitea.io/gitea/$VER/gitea-$VER-linux-amd64"
fi
# Check if architecure is ARMv7 and download Gitea