Add i386 support

This commit is contained in:
Josh Mudge 2018-06-23 22:41:55 -06:00
父節點 7cb52884fc
當前提交 735958f8f9
共有 1 個文件被更改,包括 5 次插入0 次删除

查看文件

@ -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"