Fix the issue that Fedora Rawhide install media not detected. (#2283)

This commit is contained in:
longpanda 2023-03-10 22:33:53 +08:00
parent b47aa1abc7
commit e869bc2386
1 changed files with 7 additions and 0 deletions

View File

@ -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