core: 修复 8398e1e 引起无法进行传统安装的bug

This commit is contained in:
bin456789 2023-07-29 00:48:37 +08:00
parent 57358d63b2
commit 7ad7295844
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B

View File

@ -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