adding rocky linux support in install script

This commit is contained in:
afeiszli 2022-02-23 08:23:07 -05:00
parent de9d805e2d
commit 952616db89

View file

@ -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'