Update install.sh

This commit is contained in:
Jeffrey Morgan 2024-05-28 15:01:22 -07:00 committed by GitHub
parent 45cbfc5aee
commit 1f5008544b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;;