This commit is contained in:
Josh Mudge 2018-06-28 15:31:03 -06:00
parent c5d75c1016
commit c1a0669e6e
1 changed files with 1 additions and 1 deletions

View File

@ -39,8 +39,8 @@ sudo chown -R gitea:gitea /opt/gitea/ /var/log/gitea
# Download and install gitea # Download and install gitea
# Check if architecure is i386 and download Gitea # Check if architecure is i386 and download Gitea
sudo curl -fsSL -o "/opt/gitea/gitea-$VER" "https://dl.gitea.io/gitea/$VER/gitea-$VER-linux-386"
if [ -n "$(uname -a | grep i386)" ]; then if [ -n "$(uname -a | grep i386)" ]; then
sudo curl -fsSL -o "/opt/gitea/gitea-$VER" "https://dl.gitea.io/gitea/$VER/gitea-$VER-linux-386"
fi fi
# Check if architecure is x86 and download Gitea # Check if architecure is x86 and download Gitea