mirror of
https://github.com/bin456789/reinstall.git
synced 2025-08-22 01:01:52 +00:00
core: 安装出错时可以切换成安装 alpine
This commit is contained in:
3
trans.sh
3
trans.sh
@@ -4658,6 +4658,9 @@ if [ "$1" = "update" ]; then
|
|||||||
wget -O /trans.sh "$confhome/trans.sh"
|
wget -O /trans.sh "$confhome/trans.sh"
|
||||||
chmod +x /trans.sh
|
chmod +x /trans.sh
|
||||||
exec /trans.sh
|
exec /trans.sh
|
||||||
|
elif [ "$1" = "alpine" ]; then
|
||||||
|
info 'switch to alpine'
|
||||||
|
distro=alpine
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# 无参数运行部分
|
# 无参数运行部分
|
||||||
|
Reference in New Issue
Block a user