Skip to content

Commit 9ef98c6

Browse files
authored
install.sh: add support for Rocky Linux 8.9 (#32)
1 parent 8ef7b26 commit 9ef98c6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

install.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ os_release_detect() {
249249
;;
250250
centos|rocky|rhel)
251251
# Supported centos/rocky/rhel releases
252-
set -- 8 8.8 9 9.1 9.2
252+
set -- 8 8.8 8.9 9 9.1 9.2
253253

254254
for item in "$@";
255255
do
@@ -776,6 +776,7 @@ grpc_collector_deploy() {
776776
"Linux centos 8" | \
777777
"Linux centos 9" | \
778778
"Linux rocky 8.8" | \
779+
"Linux rocky 8.9" | \
779780
"Linux rhel 8" | \
780781
"Linux rhel 9" | \
781782
"Linux rhel 9.1" | \
@@ -792,7 +793,7 @@ grpc_collector_deploy() {
792793
yum install -y epel-release >/dev/null 2>&1 || die "error - epel-release install failure" "${err_epel_failure}"
793794

794795
# Switch to a recent gcc version (old centos/rocky/rhel release)
795-
if [ "${_os_info}" = "Linux centos 8" ] || [ "${_os_info}" = "Linux rhel 8" ] || [ "${_os_info}" = "Linux rocky 8.8" ]; then
796+
if [ "${_os_info}" = "Linux centos 8" ] || [ "${_os_info}" = "Linux rhel 8" ] || [ "${_os_info}" = "Linux rocky 8.8" ] || [ "${_os_info}" = "Linux rocky 8.9" ]; then
796797
yum -y install gcc-toolset-11 >/dev/null 2>&1
797798
source /opt/rh/gcc-toolset-11/enable
798799
fi

0 commit comments

Comments
 (0)