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

This commit is contained in:
bin456789 2024-10-15 00:30:32 +08:00
parent d8692e787c
commit 6c70c00fa2
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B

View File

@ -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
# 无参数运行部分