Commit e869bc23 authored by longpanda's avatar longpanda
Browse files

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

parent b47aa1ab
...@@ -125,6 +125,13 @@ if $GREP -i -q Fedora /proc/version; then ...@@ -125,6 +125,13 @@ if $GREP -i -q Fedora /proc/version; then
fi fi
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 echo "vtNeedRepo=$vtNeedRepo" >> $VTLOG
if [ "$vtNeedRepo" = "yes" ]; then if [ "$vtNeedRepo" = "yes" ]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment