diff --git a/hack/install.sh b/hack/install.sh index 34e7a72e935db8440ec56dba5e4fd84e6a83e3d0..00dd73c942d74ec7025c49e21120a9e1386d7f16 100644 --- a/hack/install.sh +++ b/hack/install.sh @@ -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")"