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

Running `main_inst` from `configure.sh` will place executables at `/usr/usr/` #315

Closed trallnag closed 2 months ago

trallnag commented 2 months ago

WSL Utilities Version

4.1.3

Describe the bug

Running the function main_inst defined in configure.sh will place executables at /usr/usr because in the Makefile PREFIX defaults to /usr and the function sets DESTDIR to /usr.

patrick330602 commented 2 months ago

Thanks for reporting. This method is already deprecated long ago and it already no longer exists on the official installation methods here: https://wslutiliti.es/wslu/install.html and not documented in the contribution section: https://wslutiliti.es/wslu/contributing.html. I will remove the function to prevent further misunderstanding.