Add ARMv6 support
这个提交包含在:
父节点
6f2ca3d312
当前提交
7cb52884fc
@ -20,6 +20,11 @@ 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"
|
sudo wget -O "/opt/gitea/gitea-$VER" "https://dl.gitea.io/gitea/$VER/gitea-$VER-linux-amd64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Check if architecure is ARMv6 and download Gitea
|
||||||
|
if [ -n "$(uname -a | grep armv6l)" ]; then
|
||||||
|
sudo wget -O "/opt/gitea/gitea-$VER" "https://dl.gitea.io/gitea/$VER/gitea-$VER-linux-arm-6"
|
||||||
|
fi
|
||||||
|
|
||||||
# Check if architecure is ARMv7 and download Gitea
|
# Check if architecure is ARMv7 and download Gitea
|
||||||
if [ -n "$(uname -a | grep armv7l)" ]; then
|
if [ -n "$(uname -a | grep armv7l)" ]; then
|
||||||
sudo wget -O "/opt/gitea/gitea-$VER" "https://dl.gitea.io/gitea/$VER/gitea-$VER-linux-arm-7"
|
sudo wget -O "/opt/gitea/gitea-$VER" "https://dl.gitea.io/gitea/$VER/gitea-$VER-linux-arm-7"
|
||||||
|
正在加载...
x
在新工单中引用
屏蔽一个用户