enable wsl.conf creation

This commit is contained in:
2023-08-08 08:55:45 +00:00
parent d44ceb3765
commit 86c0fbdd64

View File

@@ -489,8 +489,6 @@ if [ "$1" == "remove" ]; then
fi; # else run install
WSL_DISTRO_NAME=""; # disable WSL systemd installation
# running on WSL
if [ -n "$WSL_DISTRO_NAME" ]; then
if [ ! -f /etc/wsl.conf ]; then
@@ -736,6 +734,7 @@ if [ "$ANSWER" == "y" ] || [ "$ANSWER" == "Y" ] || [ "$ANSWER" == "" ]; then
registry.format.hu/installer-tool
fi
WSL_DISTRO_NAME=""; # disable WSL systemd support installation - not working correctly
# running on WSL
if [ -n "$WSL_DISTRO_NAME" ]; then
# enable systemd support on current images