diff --git a/wireguard-install.sh b/wireguard-install.sh index c178027..c194cf7 100644 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -46,10 +46,16 @@ This version of Ubuntu is too old and unsupported." exit fi -if [[ "$os" == "debian" && "$os_version" -lt 10 ]]; then - echo "Debian 10 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 10 ]]; then + echo "Debian 10 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