mirror of
https://github.com/bin456789/reinstall.git
synced 2025-01-19 04:49:13 +08:00
core: 修复用 busybox bash 运行时逻辑错误
This commit is contained in:
parent
bcbea39fa8
commit
4952dead76
4
trans.sh
4
trans.sh
@ -82,7 +82,7 @@ download() {
|
|||||||
save=""
|
save=""
|
||||||
else
|
else
|
||||||
# 文件名是绝对路径
|
# 文件名是绝对路径
|
||||||
if [[ "$path" = "/*" ]]; then
|
if [[ "$path" = '/*' ]]; then
|
||||||
save="-d / -o $path"
|
save="-d / -o $path"
|
||||||
else
|
else
|
||||||
# 文件名是相对路径
|
# 文件名是相对路径
|
||||||
@ -1843,7 +1843,7 @@ EOF
|
|||||||
# installer分区盘符不一定是D盘
|
# installer分区盘符不一定是D盘
|
||||||
# 所以复制 resize.bat 到 install.wim
|
# 所以复制 resize.bat 到 install.wim
|
||||||
# TODO: 由于esd文件无法修改,要将resize.bat放到boot.wim
|
# TODO: 由于esd文件无法修改,要将resize.bat放到boot.wim
|
||||||
if [[ "$install_wim" = "*.wim" ]]; then
|
if [[ "$install_wim" = '*.wim' ]]; then
|
||||||
wimmountrw $install_wim "$image_name" /wim/
|
wimmountrw $install_wim "$image_name" /wim/
|
||||||
if false; then
|
if false; then
|
||||||
# 使用 Autounattend.xml
|
# 使用 Autounattend.xml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user