From 0f5d7f7c3fe935f1ed8d62196fc8b39bf5d6e860 Mon Sep 17 00:00:00 2001 From: b-keller Date: Sun, 4 Jul 2021 13:53:19 +0200 Subject: [PATCH] Add support for Rocky Linux OS --- rocketchatctl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rocketchatctl b/rocketchatctl index b4c9c87..1f12b05 100755 --- a/rocketchatctl +++ b/rocketchatctl @@ -228,6 +228,9 @@ os_supported(){ centos) [[ "$distro_version" =~ (("7"|"8")) ]] || print_distro_not_supported_error_and_exit ;; + rocky) + [[ "$distro_version" =~ (("8")) ]] || print_distro_not_supported_error_and_exit + ;; *) print_distro_not_supported_error_and_exit ;; @@ -850,7 +853,7 @@ do_install(){ initiate_and_start_mongo fi ;; - centos) + centos|rocky) yum -y check-update yum install -y curl # node @@ -948,7 +951,7 @@ do_update_node(){ ubuntu|debian) apt_install_node ;; - centos) + centos|rocky) yum_install_node ;; *)