mirror of
https://git.coolaj86.com/coolaj86/gitea-installer.sh.git
synced 2024-12-21 22:06:19 +00:00
Fix AMD install.
This commit is contained in:
parent
eb8dfc1af3
commit
6f2ca3d312
@ -17,7 +17,7 @@ sudo chown -R gitea:gitea /opt/gitea/ /var/log/gitea
|
|||||||
|
|
||||||
# Check if architecure is x86 and download Gitea
|
# Check if architecure is x86 and download Gitea
|
||||||
if [ -n "$(uname -a | grep x86_64)" ]; then
|
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
|
fi
|
||||||
|
|
||||||
# Check if architecure is ARMv7 and download Gitea
|
# Check if architecure is ARMv7 and download Gitea
|
||||||
|
Loading…
Reference in New Issue
Block a user