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

Re: shell script sniplets in /usr/bin?



Martin Schulze <joey@infodrom.org> writes:

> Adrian von Bidder wrote:
>> > You wouldn't need to change "every" script - you just need to move
>> > gettext.sh to /usr/share/gettext/scripts and create /usr/bin/gettext.sh
>> > with the content Sean suggested.
>> 
>> Which buys us what?
>> 
>> This new gettext.sh would still be a non-executable script snippet which is 
>> not intended to be called by the user directly, as far as I can understand.
>
> But it has the executable flag turned on which makes it
> executable by users - and we'll get bug reports about useless
> scripts polluting /usr/bin.

Why should it?

/usr/bin/gettext.sh:
----------------------------------------------------------------------
#!/bin/false

. /usr/share/gettext/gettext.sh
----------------------------------------------------------------------

> Err... Is that really an advantage over the current situation?

No. It would only be good for transitional purposes but you already
said it needs to be in the path for compatibility reasons.

> Regards,
>
> 	Joey

MfG
        Goswin



Reply to: