mirror of
https://git.coolaj86.com/coolaj86/gitea-installer.sh.git
synced 2024-12-21 13:55:27 +00:00
Update and make ARMv7 version.
This commit is contained in:
parent
d75ad1a205
commit
99f7a27ea2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user