diff --git a/install.sh b/install.sh index ec42f68..53d1763 100755 --- a/install.sh +++ b/install.sh @@ -1,4 +1,11 @@ #!/bin/bash +if command -v lsb_release >/dev/null 2>&1; then + OS_VERSION=$(lsb_release -rs) + if [[ "$OS_VERSION" != "16.04" && "$OS_VERSION" != "20.04" && "$OS_VERSION" != "22.04" ]]; then + echo "⚠️ Warning: Unsupported Ubuntu version: $OS_VERSION" + echo "This script was tested on Ubuntu 16.04 / 20.04 / 22.04" + fi +fi cat << "EOM" _ _ _ _ _