mirror of
https://github.com/bin456789/reinstall.git
synced 2025-01-19 04:49:13 +08:00
core: 安装出错时可以切换成安装 alpine
This commit is contained in:
parent
d8692e787c
commit
6c70c00fa2
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
|
||||||
|
|
||||||
# 无参数运行部分
|
# 无参数运行部分
|
||||||
|
Loading…
x
Reference in New Issue
Block a user