File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -221,14 +221,6 @@ is_dry_run() {
221221 fi
222222}
223223
224- is_wsl () {
225- case " $( uname -r) " in
226- * microsoft* ) true ;; # WSL 2
227- * Microsoft* ) true ;; # WSL 1
228- * ) false ;;
229- esac
230- }
231-
232224is_darwin () {
233225 case " $( uname -s) " in
234226 * darwin* ) true ;;
@@ -402,18 +394,6 @@ do_install() {
402394 lsb_dist=$( get_distribution )
403395 lsb_dist=" $( echo " $lsb_dist " | tr ' [:upper:]' ' [:lower:]' ) "
404396
405- if is_wsl; then
406- echo
407- echo " WSL DETECTED: We recommend using Docker Desktop for Windows."
408- echo " Please get Docker Desktop from https://www.docker.com/products/docker-desktop/"
409- echo
410- cat >&2 << -'EOF '
411-
412- You may press Ctrl+C now to abort this script.
413- EOF
414- ( set -x; sleep 20 )
415- fi
416-
417397 case " $lsb_dist " in
418398
419399 ubuntu)
You can’t perform that action at this time.
0 commit comments