fix wsl detect
This commit is contained in:
parent
b6a6df2bf2
commit
89f8ed49c8
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/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
|
then
|
||||||
WSL=true
|
WSL=true
|
||||||
#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