diff --git a/install.sh b/install.sh index acb7f82..c7af69e 100755 --- a/install.sh +++ b/install.sh @@ -627,6 +627,11 @@ else abort "This script is only meant to be run on Debian or Ubuntu." fi +# Check if running on WSL 1 or WSL 2 +if grep -qE "(Microsoft|WSL)" /proc/version &> /dev/null ; then + abort "WSL is not supported. Please run this script on a native Linux installation." +fi + if [[ ! (${operating_system_distribution} == "ubuntu" || ${operating_system_distribution} == "debian") ]]; then echo "Detected operating system: ${operating_system_distribution}" abort "This script is only meant to be run on Debian or Ubuntu."