Fixed install script that was not working for RHEL7 host
| ... | ... |
@@ -243,7 +243,8 @@ do_install() {
|
| 243 | 243 |
lsb_dist='centos' |
| 244 | 244 |
fi |
| 245 | 245 |
if [ -z "$lsb_dist" ] && [ -r /etc/redhat-release ]; then |
| 246 |
- lsb_dist='redhat' |
|
| 246 |
+ # we use centos for both redhat and centos releases |
|
| 247 |
+ lsb_dist='centos' |
|
| 247 | 248 |
fi |
| 248 | 249 |
if [ -z "$lsb_dist" ] && [ -r /etc/os-release ]; then |
| 249 | 250 |
lsb_dist="$(. /etc/os-release && echo "$ID")" |