[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: shell script sniplets in /usr/bin?



Santiago Vila <sanvila@unex.es> writes:

> On Sat, 29 Jan 2005, Jochen Voss wrote:
>
>> On Sat, Jan 29, 2005 at 05:40:05PM +0100, Santiago Vila wrote:
>> > You forgot to quote last thing I said when closing the bug.
>> >
>> > So I'll repeat: Please read the logs for non-bug Bug#292759, where the
>> > author explains the rationale for putting gettext.sh in /usr/bin.
>> Sorry, I did not find relevant information there.
>> Does the bug report log explain somewhere whether it is actually ok to
>> place this file in /usr/bin on a Debian system?
>
> Sorry, I really meant non-bug #284637.
>
> Debian does not have a designated directory for shell script function
> libraries which is in the PATH by default, this is why /usr/bin should
> be ok.

Since, as stated in the thread, it is never to be called (and can
never be executed anyway) by a user the file should not pollute the
PATH.

All other packages have their script sniplets in /usr/share/<package>,
e.g. devscripts, debhelper, debian-cd, ...

Maybe there should be a /usr/share/bin for architecture independent
binaries (i.e. scripts) but this doesn't look like a candidate for any
bin directory.

MfG
        Goswin



Reply to: