X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/4e8d8b2e19d0222f5f859c8462f420877b68aa24..HEAD:/INSTALL/tool/VentoyWorker.sh diff --git a/INSTALL/tool/VentoyWorker.sh b/INSTALL/tool/VentoyWorker.sh index fa2af33..7844b92 100644 --- a/INSTALL/tool/VentoyWorker.sh +++ b/INSTALL/tool/VentoyWorker.sh @@ -625,10 +625,14 @@ else check_umount_disk "$DISK" vtoycli partresize -s $DISK $part2_start fi + - vtinfo "update esp partition attribute" - vtoycli gpt -f $DISK - sync + if [ "$PART1_TYPE" = "EE" ]; then + vtinfo "update esp partition attribute" + vtoycli gpt -f $DISK + sync + fi + echo "" vtinfo "Update Ventoy on $DISK successfully finished."