Procházet zdrojové kódy

Merge pull request #832 from gravitl/hotfix_v0.11.0_rocky_linux

adding rocky linux support in install script
Alex Feiszli před 3 roky
rodič
revize
fe5402a732
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 4 0
      scripts/netclient-install.sh

+ 4 - 0
scripts/netclient-install.sh

@@ -25,6 +25,10 @@ elif [ -f /etc/fedora-release ]; then
 	dependencies="wireguard"
 	update_cmd='dnf update'
 	install_cmd='dnf install -y'
+elif [ -f /etc/redhat-release ]; then
+	dependencies="wireguard"
+	update_cmd='yum update'
+	install_cmd='yum install -y'
 elif [ -f /etc/arch-releae ]; then
     	dependecies="wireguard-tools"
 	update_cmd='pacman -Sy'