1
0
Fork 0
mirror of https://github.com/Nyr/openvpn-install.git synced 2025-04-04 21:23:31 +03:00

Add support for Kali Rolling 2022

This commit is contained in:
simopunkc 2022-08-17 22:22:35 +07:00
parent c0a3562f64
commit 2d58be7da4
No known key found for this signature in database
GPG key ID: C9966D0B10667647

View file

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