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