X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/7fe4762faa1b10bfcbb888930159ae76b60ac94a..2d281d7dee99b92500dfa49a96620d44fdc24243:/IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh diff --git a/IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh b/IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh index 7b43a79..3ab212b 100644 --- a/IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh +++ b/IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh @@ -125,6 +125,13 @@ if $GREP -i -q Fedora /proc/version; then fi fi +if $GREP -i -q Fedora /etc/os-release; then + if $GREP -q 'Server Edition' /etc/os-release; then + vtNeedRepo="yes" + fi +fi + + echo "vtNeedRepo=$vtNeedRepo" >> $VTLOG if [ "$vtNeedRepo" = "yes" ]; then