disable wsl systemd installation

This commit is contained in:
2023-08-03 13:49:53 +00:00
parent a6420107d7
commit b38408be3e

View File

@@ -465,6 +465,9 @@ if [ "$1" == "remove" ]; then
exit; exit;
fi; # else run install fi; # else run install
WSL_DISTRO_NAME=""; # disable WSL systemd installation
# running on WSL # running on WSL
if [ -n "$WSL_DISTRO_NAME" ]; then if [ -n "$WSL_DISTRO_NAME" ]; then
if [ ! -f /etc/wsl.conf ]; then if [ ! -f /etc/wsl.conf ]; then