diff --git a/INSTALL/grub/grub.cfg b/INSTALL/grub/grub.cfg index c5a13080..436b4d5d 100644 --- a/INSTALL/grub/grub.cfg +++ b/INSTALL/grub/grub.cfg @@ -1428,7 +1428,7 @@ function ventoy_iso_busybox_ver { #special process for deepin-live iso if [ "$vt_chosen_size" = "403701760" ]; then - if vt_str_str "$vt_chosen_path" "/deepin-live"; then + if vt_strstr "$vt_chosen_path" "/deepin-live"; then set ventoy_busybox_ver=64 fi elif vt_str_begin "$vt_volume_id" "PHOTON_"; then @@ -1439,7 +1439,7 @@ function ventoy_iso_busybox_ver { set ventoy_busybox_ver=64 elif vt_str_begin "$vt_volume_id" "KAOS_"; then set ventoy_busybox_ver=64 - elif vt_str_str "$vt_volume_id" "x86_64"; then + elif vt_strstr "$vt_volume_id" "x86_64"; then set ventoy_busybox_ver=64 fi