Update 'install.sh'

This commit is contained in:
Gyorgy Berenyi
2023-07-13 09:48:58 +00:00
parent 0d1fe667b6
commit 2f74b72156

View File

@@ -458,8 +458,7 @@ fi
SYSTEM_SETTINGS=$(grep -Pzow '\[boot\]\nsystemd\=true' /etc/wsl.conf); SYSTEM_SETTINGS=$(grep -Pzow '\[boot\]\nsystemd\=true' /etc/wsl.conf);
if [ "$SYSTEM_SETTINGS" == "" ]; then if [ "$SYSTEM_SETTINGS" == "" ]; then
echo "[boot] echo "[boot]\nsystemd=true" | $SUDO_CMD tee /etc/wsl.conf;
systemd=true" | $SUDO_CMD tee /etc/wsl.conf;
echo "Not corresponding wsl configuration found, modified and need a WSL system restart from Windows terminal"; echo "Not corresponding wsl configuration found, modified and need a WSL system restart from Windows terminal";
fi fi