Fixes for Red Hat Enterprise Linux 7 and CentOS 6 (#3846)
Fixes for Red Hat Enterprise Linux 7 and CentOS 6 (#3846)

* Changes for Red Hat Enterprise Linux.

RHEL uses "rhel" in the ID field in /etc/os-release. We'll leave
"redhat" in the script just in case.

Also, RHEL uses a two digit version number in the VERSION_ID field. So
instead of looking for just "7", look for anything that starts with "7".
This should fix RHEL installations as well as not break anything
with CentOS.

* Fixes issue #3079.

"lsb_release -s -r" returns a two digit version number (at least on recent CentOS releases) while the script is looking for a single digit version. We'll change the script so that it only looks for the version starting with 6. This fixes recent releases of CentOS, while also not breaking previous versions that may have used a single digit.

madd15/snipe-it,GeoffYoung/snipe-it,uberbrady/snipe-it,madd15/snipe-it,tiagom62/snipe-it,anuj-rajput/snipe-it,madd15/snipe-it,ppavlov28/snipe-it,ixmid/snipe-it,bytepark/snipe-it,snipe/snipe-it,jasonspriggs/snipe-it,madd15/snipe-it,jasonspriggs/snipe-it,anuj-rajput/snipe-it,ixmid/snipe-it,ixmid/snipe-it,mtucker6784/snipe-it,uberbrady/snipe-it,uberbrady/snipe-it,dmeltzer/snipe-it,dmeltzer/snipe-it,snipe/snipe-it,dmeltzer/snipe-it,ppavlov28/snipe-it,tiagom62/snipe-it,dkmansion/snipe-it,tiagom62/snipe-it,bytepark/snipe-it,mtucker6784/snipe-it,bytepark/snipe-it,tiagom62/snipe-it,bytepark/snipe-it,mtucker6784/snipe-it,mtucker6784/snipe-it,jasonspriggs/snipe-it,jasonspriggs/snipe-it,ixmid/snipe-it,mtucker6784/snipe-it,dkmansion/snipe-it,uberbrady/snipe-it,dkmansion/snipe-it,dkmansion/snipe-it,GeoffYoung/snipe-it,snipe/snipe-it,uberbrady/snipe-it,dmeltzer/snipe-it,snipe/snipe-it,GeoffYoung/snipe-it,anuj-rajput/snipe-it,GeoffYoung/snipe-it,ppavlov28/snipe-it,anuj-rajput/snipe-it