core: 安装出错时可以切换成安装 alpine

pull/218/head
bin456789 2 years ago
parent d8692e787c
commit 6c70c00fa2
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B

@ -4658,6 +4658,9 @@ if [ "$1" = "update" ]; then
wget -O /trans.sh "$confhome/trans.sh"
chmod +x /trans.sh
exec /trans.sh
elif [ "$1" = "alpine" ]; then
info 'switch to alpine'
distro=alpine
fi
# 无参数运行部分

Loading…
Cancel
Save