From 7ad72958442765ed7704a1459c5a058f15384b1a Mon Sep 17 00:00:00 2001 From: bin456789 Date: Sat, 29 Jul 2023 00:48:37 +0800 Subject: [PATCH] =?UTF-8?q?core:=20=E4=BF=AE=E5=A4=8D=208398e1e=20?= =?UTF-8?q?=E5=BC=95=E8=B5=B7=E6=97=A0=E6=B3=95=E8=BF=9B=E8=A1=8C=E4=BC=A0?= =?UTF-8?q?=E7=BB=9F=E5=AE=89=E8=A3=85=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- trans.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/trans.sh b/trans.sh index eb1e68a..e20c0b4 100644 --- a/trans.sh +++ b/trans.sh @@ -1024,12 +1024,15 @@ elif is_use_cloud_image; then create_part install_cloud_image fi -elif [ "$distro" = "windows" ]; then - install_windows else - install_redhat_ubuntu + create_part + mount_part + if [ "$distro" = "windows" ]; then + install_windows + else + install_redhat_ubuntu + fi fi - if [ "$sleep" = 2 ]; then exit fi