X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/652475f1ef50386eb3f6549f3754a9033b6769a8..1e49dbe9572fe647d5e695811567d88253145726:/IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh?ds=inline diff --git a/IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh b/IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh index 852e413..613fa76 100644 --- a/IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh +++ b/IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh @@ -125,6 +125,7 @@ fi #iso-scan (currently only for Fedora) if $GREP -q Fedora /etc/os-release; then +if /ventoy/tool/vtoydump -a /ventoy/ventoy_os_param; then if ventoy_iso_scan_check; then echo "iso_scan process ..." >> $VTLOG @@ -139,6 +140,7 @@ if $GREP -q Fedora /etc/os-release; then exit 0 fi +fi fi