Commit 79612b39 authored by Kevin Atkinson's avatar Kevin Atkinson

Make test for Fedora version string slightly more general to work with

Fedora 8.
parent 080d4bda
......@@ -34,7 +34,7 @@ Linux)
if [ -n "$rel" ]; then
dist="Redhat"
else
rel=`grep 'Fedora Core' /etc/redhat-release | sed -e 's/Fedora Core release \([0-9]\).*/\1/'`
rel=`grep 'Fedora' /etc/redhat-release | sed -e 's/Fedora .*release \([0-9]\).*/\1/'`
if [ -n "$rel" ]; then
dist="Fedora"
fi
......
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