Fix vt_strstr
Some checks failed
Ventoy CI / build (push) Has been cancelled
Mirror GitHub to Gitee / Sync-GitHub-to-Gitee (push) Has been cancelled

This commit is contained in:
longpanda
2025-12-10 23:51:47 +08:00
parent 935516ed49
commit 40fbc041ea

View File

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