mirror of
https://git.coolaj86.com/coolaj86/gitea-installer.sh.git
synced 2024-12-30 17:33:58 +00:00
Add i386 support
This commit is contained in:
parent
7cb52884fc
commit
735958f8f9
@ -15,6 +15,11 @@ sudo chown -R gitea:gitea /opt/gitea/ /var/log/gitea
|
||||
|
||||
# Download and install gitea
|
||||
|
||||
# Check if architecure is i386 and download Gitea
|
||||
if [ -n "$(uname -a | grep i386)" ]; then
|
||||
sudo wget -O "/opt/gitea/gitea-$VER" "https://dl.gitea.io/gitea/$VER/gitea-$VER-linux-386"
|
||||
fi
|
||||
|
||||
# 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-amd64"
|
||||
|
Loading…
Reference in New Issue
Block a user