Update and make ARMv7 version.

This commit is contained in:
Josh Mudge 2018-06-23 21:44:29 -06:00
parent d75ad1a205
commit 99f7a27ea2
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
VER=1.4.1
VER=1.4.2
# wget -O install-gitea.bash https://git.coolaj86.com/coolaj86/gitea-installer/raw/master/install.bash; bash install-gitea.bash
# or
@ -14,7 +14,7 @@ sudo mkdir -p /opt/gitea/ /var/log/gitea
sudo chown -R gitea:gitea /opt/gitea/ /var/log/gitea
# Download and install gitea
sudo wget -O "/opt/gitea/gitea-$VER" "https://dl.gitea.io/gitea/$VER/gitea-$VER-linux-amd64"
sudo wget -O "/opt/gitea/gitea-$VER" "https://dl.gitea.io/gitea/$VER/gitea-$VER-linux-arm-7"
sudo chmod +x /opt/gitea/gitea-$VER
rm -f /opt/gitea/gitea
ln -sf gitea-$VER /opt/gitea/gitea
@ -66,4 +66,4 @@ echo ""
# sleep 5
# swapoff /tmp.swap
# rm /tmp.swap
# rm /tmp.swap