mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-12-16 16:56:18 +00:00
Fix vt_strstr
This commit is contained in:
@@ -1428,7 +1428,7 @@ function ventoy_iso_busybox_ver {
|
|||||||
|
|
||||||
#special process for deepin-live iso
|
#special process for deepin-live iso
|
||||||
if [ "$vt_chosen_size" = "403701760" ]; then
|
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
|
set ventoy_busybox_ver=64
|
||||||
fi
|
fi
|
||||||
elif vt_str_begin "$vt_volume_id" "PHOTON_"; then
|
elif vt_str_begin "$vt_volume_id" "PHOTON_"; then
|
||||||
@@ -1439,7 +1439,7 @@ function ventoy_iso_busybox_ver {
|
|||||||
set ventoy_busybox_ver=64
|
set ventoy_busybox_ver=64
|
||||||
elif vt_str_begin "$vt_volume_id" "KAOS_"; then
|
elif vt_str_begin "$vt_volume_id" "KAOS_"; then
|
||||||
set ventoy_busybox_ver=64
|
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
|
set ventoy_busybox_ver=64
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user