Merge pull request #23817 from kencochrane/fix_install_script
Fixed install script that was not working for RHEL7 host
This commit is contained in:
commit
b02e7faa85
1 changed files with 2 additions and 1 deletions
|
@ -243,7 +243,8 @@ do_install() {
|
|||
lsb_dist='centos'
|
||||
fi
|
||||
if [ -z "$lsb_dist" ] && [ -r /etc/redhat-release ]; then
|
||||
lsb_dist='redhat'
|
||||
# we use centos for both redhat and centos releases
|
||||
lsb_dist='centos'
|
||||
fi
|
||||
if [ -z "$lsb_dist" ] && [ -r /etc/os-release ]; then
|
||||
lsb_dist="$(. /etc/os-release && echo "$ID")"
|
||||
|
|
Loading…
Reference in a new issue