]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - INSTALL/tool/VentoyWorker.sh
1.1.07 release
[Ventoy.git] / INSTALL / tool / VentoyWorker.sh
index fa2af33a9c0aa014d77927dcc70fdf8adaad6862..7844b922994a334a3922fb70b9c45ac61acd2fdf 100644 (file)
@@ -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."