From 4b412c94b4314c0c7a9a90381a454f622dac3ea6 Mon Sep 17 00:00:00 2001 From: Nyr Date: Thu, 19 Oct 2023 16:17:28 +0200 Subject: [PATCH] Fix #970 --- openvpn-install.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 96cb98c..d13261d 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -50,10 +50,16 @@ This version of Ubuntu is too old and unsupported." exit fi -if [[ "$os" == "debian" && "$os_version" -lt 9 ]]; then - echo "Debian 9 or higher is required to use this installer. +if [[ "$os" == "debian" ]]; then + if grep -q '/sid' /etc/debian_version; then + echo "Debian Testing and Debian Unstable are unsupported by this installer." + exit + fi + if [[ "$os_version" -lt 9 ]]; then + echo "Debian 9 or higher is required to use this installer. This version of Debian is too old and unsupported." - exit + exit + fi fi if [[ "$os" == "centos" && "$os_version" -lt 7 ]]; then