wslutilities / wslu

A collection of utilities for Windows Subsystem for Linux
https://wslutiliti.es/wslu
GNU General Public License v3.0
3.44k stars 155 forks source link

Cmd `make uninstall` deletes `wslpath` executable not part of wslu #314

Closed trallnag closed 2 months ago

trallnag commented 2 months ago

Distro Version

Ubuntu 24.04

WSL Utilities Version

4.1.3

Describe the bug

Running make uninstall will remove everything that matches INSTEDEXES := $(wildcard $(DESTDIR)$(PREFIX)/bin/wsl*) and by default this also matches wslpath which is provided by the distribution and should not be deleted by wlsu.

Steps to Reproduce

Run make uninstall.

Expected behavior

Should only delete stuff managed by wslu.

Additional context

DESTDIR unset.

Code of Conduct