We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c619f9 commit 0d79fd0Copy full SHA for 0d79fd0
setup.sh
@@ -113,7 +113,13 @@ sleep_if_non_ci 5
113
echo -e "\033[32m:::::::::::::::::::::: Checking your operating system ::::::::::::::::::::::\033[0m"
114
echo
115
116
-if [ -n "$(uname -a | grep Ubuntu)" ]; then
+if [ -n "$(uname -r | grep microsoft-standard-WSL2)" ] && [ -n "$(cat /etc/os-release | grep Ubuntu)" ]; then
117
+ wslKernelWithUbuntu=true
118
+ echo -e "\033[32m:::::::::::::::: You are running Windows Subsystem for Linux . Checking distro ::::::::::::::::\033[0m"
119
+ echo
120
+fi
121
+
122
+if [ -n "$(uname -a | grep Ubuntu)" ] || [ $wslKernelWithUbuntu == true ]; then
123
echo -e "\033[32m:::::::::::::::: You are running Ubuntu. Checking version ::::::::::::::::\033[0m"
124
125
0 commit comments