Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions rocketchatctl
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
Expand Down Expand Up @@ -850,7 +853,7 @@ do_install(){
initiate_and_start_mongo
fi
;;
centos)
centos|rocky)
yum -y check-update
yum install -y curl
# node
Expand Down Expand Up @@ -948,7 +951,7 @@ do_update_node(){
ubuntu|debian)
apt_install_node
;;
centos)
centos|rocky)
yum_install_node
;;
*)
Expand Down