From 2d58be7da42e3ecdc4d4d163b70d7e41f7c54e4a Mon Sep 17 00:00:00 2001 From: simopunkc Date: Wed, 17 Aug 2022 22:22:35 +0700 Subject: [PATCH] Add support for Kali Rolling 2022 --- openvpn-install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openvpn-install.sh b/openvpn-install.sh index effb1f6..fd5eec6 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -26,6 +26,10 @@ if grep -qs "ubuntu" /etc/os-release; then os="ubuntu" os_version=$(grep 'VERSION_ID' /etc/os-release | cut -d '"' -f 2 | tr -d '.') group_name="nogroup" +elif grep -qs "kali" /etc/os-release; then + os="debian" + os_version=11 + group_name="nogroup" elif [[ -e /etc/debian_version ]]; then os="debian" os_version=$(grep -oE '[0-9]+' /etc/debian_version | head -1)