From 89f8ed49c81508eef5e84be906d74cf084135117 Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Tue, 4 May 2021 21:59:50 +0500 Subject: [PATCH] fix wsl detect --- osdetect.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osdetect.sh b/osdetect.sh index 603362e..d98719d 100644 --- a/osdetect.sh +++ b/osdetect.sh @@ -1,6 +1,6 @@ #!/bin/bash -if [ "uname -r | grep -oE microsoft" = "microsoft" ] || [ "uname -r | grep -oE Microsoft" = "Microsoft" ] +if [ "uname -r | grep -oE microsoft" = "microsoft" ] || [ "uname -r | grep -oE Microsoft" = "Microsoft" ] || [ "uname -r | grep -oE icrosoft" = "icrosoft" ] then WSL=true #echo "${red}WSL Not Supported!${reset}" 1>&2