fsquillace / junest

The lightweight Arch Linux based distro that runs, without root privileges, on top of any other Linux distro.
GNU General Public License v3.0
2.1k stars 110 forks source link

ack command isn't added to bin_wrappers #324

Closed hodapp512 closed 1 year ago

hodapp512 commented 1 year ago

I try according to the instructions:

export PATH="$PATH:~/.junest/usr/bin_wrappers"
sudoj pacman -S ack
ack

I get:

The program 'ack' is currently not installed. To run 'ack' please ask your administrator to install the package 'ack-grep'

But it doesn't look like the bin_wrapper for the command is ever generated.

fsquillace commented 1 year ago

The wrapper mechanism look at the executables located into /usr/bin only. ack is located into a directory inside the bin. One possible solution is to gather all directories in PATH when such variable is initiated during a Junest session.

fsquillace commented 1 year ago

For bin paths different from /usr/bin they can be created manually: https://github.com/fsquillace/junest/pull/326