F #227: Fix RHEL 6 detection

pull/252/head
Your Name 3 years ago
parent b10f2b32c4
commit c228e8c00f
No known key found for this signature in database
GPG Key ID: EB549BADEFD07C53

@ -206,7 +206,7 @@ detect_os()
elif [ -f /etc/centos-release ]; then elif [ -f /etc/centos-release ]; then
echo 'centos' echo 'centos'
elif [ -f /etc/redhat-release ]; then elif [ -f /etc/redhat-release ]; then
echo 'redhat' echo 'rhel'
# fallback to uname (returns Linux, FreeBSD, ...) # fallback to uname (returns Linux, FreeBSD, ...)
else else

Loading…
Cancel
Save