improved wsl1 detect
This commit is contained in:
parent
1b63f49985
commit
443d189d7d
@ -1,6 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "uname -r | grep -oE microsoft" = "microsoft" ]
|
||||
if [ "uname -r | grep -oE microsoft" = "microsoft" ] || [ $(uname -r | grep -oE Microsoft) = "Microsoft" ]
|
||||
then
|
||||
OS=windows
|
||||
#echo ${red}WSL Not Supported!${reset} 1>&2
|
||||
|
Loading…
x
Reference in New Issue
Block a user