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

Re: shell script sniplets in /usr/bin?

On Sat, Jan 29, 2005 at 04:18:30PM +0000, Jochen Voss wrote:
> In bug #292759 the maintainer of gettext-base claims, that it is also
> ok to install shell script sniplets, which are not executable on
> itself into /usr/bin/
>     This is not a bug.
>     The file gettext.sh is meant to be sourced by shell scripts in this way:
>     . gettext.sh

i'd argue the file is improperly placed.  if the file is sourced and
not directly executed, and there's no reason why an average user
or admin of the system would need to execute it as "gettext.sh",
it should stay out of /usr/bin, and go in
/usr/share/gettext-base/scripts or something more appropriate like

looking at the script snippet in question, all it does is set a couple
functions/variables, so it certainly should not be in /usr/bin. hell,
it's not even executable.  



Attachment: signature.asc
Description: Digital signature

Reply to: