From b352256b9f3613dbc4137d3c98680c7092797fd1 Mon Sep 17 00:00:00 2001 From: hael Date: Tue, 11 Jul 2023 09:14:09 +0000 Subject: [PATCH] without sh --- install.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/install.sh b/install.sh index bd245cc..64b636d 100755 --- a/install.sh +++ b/install.sh @@ -657,7 +657,6 @@ if [ -n "$WSL_DISTRO_NAME" ]; then # Run installer tool $SUDO_CMD docker run \ --env WSL_DISTRO_NAME=$WSL_DISTRO_NAME \ - --env SUDO_CMD=$SUDO_CMD \ --volume $HOME/.ssh/installer:/root/.ssh/id_rsa \ --volume /etc/user/:/etc/user/ \ --volume /etc/system/:/etc/system/ \ @@ -665,8 +664,7 @@ if [ -n "$WSL_DISTRO_NAME" ]; then registry.format.hu/installer-tool fi; - sh /usr/local/bin/wsl2-systemd-script.sh - #systemctl + /usr/local/bin/wsl2-systemd-script.sh fi; shopt -s expand_aliases