Update install.sh
This commit is contained in:
parent
45cbfc5aee
commit
1f5008544b
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,8 @@ case "$ARCH" in
|
||||||
*) error "Unsupported architecture: $ARCH" ;;
|
*) error "Unsupported architecture: $ARCH" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
IS_WSL2=false
|
||||||
|
|
||||||
KERN=$(uname -r)
|
KERN=$(uname -r)
|
||||||
case "$KERN" in
|
case "$KERN" in
|
||||||
*icrosoft*WSL2 | *icrosoft*wsl2) IS_WSL2=true;;
|
*icrosoft*WSL2 | *icrosoft*wsl2) IS_WSL2=true;;
|
||||||
|
|
Loading…
Reference in a new issue