mirror of https://github.com/ventoy/Ventoy.git
Fix issue when install Fedora 34 Server Edition
This commit is contained in:
parent
47e77e003c
commit
491f0bea8a
|
@ -96,6 +96,12 @@ if $GREP -q el8 /proc/version; then
|
|||
vtNeedRepo="yes"
|
||||
fi
|
||||
|
||||
if $GREP -i -q Fedora /proc/version; then
|
||||
if $GREP -q 'Server Edition' /etc/os-release; then
|
||||
vtNeedRepo="yes"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$vtNeedRepo" = "yes" ]; then
|
||||
$BUSYBOX_PATH/cp -a $VTOY_PATH/hook/rhel7/ventoy-repo.sh /lib/dracut/hooks/pre-pivot/99-ventoy-repo.sh
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue