[Surfraw-devel] [Fwd: Bug#230276: Please don't create subdirectories in /usr/bin]

Matt Zimmerman mdz@debian.org
Sat, 31 Jan 2004 12:04:29 -0800


On Sat, Jan 31, 2004 at 11:33:35AM +0000, Ian Beckwith wrote:

> > It sounds like these programs belong in /usr/lib/surfraw or similar.
> > /usr/bin should not have subdirectories.
> 
> Hi.
> 
> This was my idea, I was originally going to put them in 
> /usr/lib/surfraw, but then noticed /usr/bin/mh
> 
> Is mh an exception for historical/compatibility reasons?

Yes.

> The idea is that the elvi (programs currently in
> /usr/bin/surfraw-elvi) are kept out of /usr/bin to avoid name clashes
> and repeated complaints about cluttering /usr/bin, but regular surfraw
> users would put that directory in their path, either manually or with
> surfraw-update-path.

I think this is a fine idea.

> So, given that, is /usr/lib/surfaw the best place?

Yes.

> Also, the elvi are all architecture-independent shell scripts, so would
> somewhere under /usr/share be better?

Just as shell scripts are at home in bin directories, likewise for lib.
They are treated as binaries.

-- 
 - mdz