Commit 8a2f1bbc authored by Dan Reading's avatar Dan Reading
Browse files

CentOS 7.1 has unexpected string in /etc/redhat-release

parent cb73b565
......@@ -110,6 +110,11 @@ Linux)
rel=$trel
fi
fi
if [ -r /etc/centos-release ]; then
trel=`grep 'CentOS' /etc/centos-release | sed -e 's/CentOS .*release \([0-9.]\+\).*/\1/'`
dist="CentOS"
rel=$trel
fi
# XXX hack check for stargate
if [ -z "$dist" -a `uname -m` = "armv5tel" ]; then
dist="Stargate"
......
Supports Markdown
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