Commit 425d6404 authored by longpanda's avatar longpanda
Browse files

Fixed a bug for ventoy_openwrt.xz check.

parent 07d4140c
...@@ -1740,10 +1740,6 @@ function img_common_menuentry { ...@@ -1740,10 +1740,6 @@ function img_common_menuentry {
fi fi
fi fi
if [ -d (vtimghd)/ ]; then
loopback -d vtimghd
fi
loopback vtimghd "${vtoy_iso_part}${vt_chosen_path}" loopback vtimghd "${vtoy_iso_part}${vt_chosen_path}"
vt_img_sector "${vtoy_iso_part}${vt_chosen_path}" vt_img_sector "${vtoy_iso_part}${vt_chosen_path}"
...@@ -1808,6 +1804,8 @@ function img_common_menuentry { ...@@ -1808,6 +1804,8 @@ function img_common_menuentry {
fi fi
fi fi
loopback -d vtimghd
set root=$vtback_root set root=$vtback_root
vt_pop_last_entry vt_pop_last_entry
set theme=$vtback_theme set theme=$vtback_theme
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment