[arch-projects] [namcap] [PATCH 5/5] Fix shebangdepends rule for programs found in noncanonical locations

Vladimir Panteleev archlinux at thecybershadow.net
Tue Jan 21 13:08:48 UTC 2020

Eli Schwartz <eschwartz at archlinux.org> writes:

> FWIW a lot of software will break if you do this, not just namcap.
> There's an exceedingly good reason why /usr/sbin and other symlink
> directories are *not* added to the $PATH on archlinux, unless the user
> has unwisely added it by hand.

FWIW, in my case I added it to my .profile so that it worked on other
distributions too, without requiring fancy logic such as checking distro
or filesystem layout. That was several years ago, and this is the first
problem I noticed so far.

More information about the arch-projects mailing list