X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/0961ce56247ba25d7fc32f0784f73c095bf0a90a..84b2ee7ee3b47f01471691fa8b85d9e0bebf2c60:/IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh?ds=sidebyside 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