1
0
mirror of https://github.com/mintty/wsltty.git synced 2024-10-05 18:31:04 +01:00

uninstall: skip backend stuff, fix del parameters (~#263)

This commit is contained in:
mintty 2020-11-13 00:00:00 +01:00
parent 6c5a0f1fba
commit 105d0b4ec5

View File

@ -14,10 +14,10 @@ copy () {
}
delete () {
from=/F
to="$1"
from="$1"
to="$1" # same again, to fill parameter
export from to
cmd /c cmd2.bat del
cmd /c cmd2.bat del/F
}
compare () {
@ -291,7 +291,7 @@ config () {
echoc "- root $root"
wdir=%USERPROFILE%
if $ok && [ -n "$distro" ]
if $ok && ! $remove && [ -n "$distro" ]
then # fix #163: backend missing +x with certain mount options
echo Setting +x wslbridge2 backends for distro "'$distro'"
(cd "$INSTDIR"; cd bin; PATH="${WINDIR}/Sysnative:${PATH}" wsl.exe -d "$distro" chmod +x wslbridge2-backend)