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

Re: Policy §10.4 as a divergence from usptream (renamings to remove extensions like .pl and .sh).



On Tue, Sep 29, 2009 at 10:40:23AM +0200, Vincent Danjean wrote:
> It is also possible to add symlinks into a private directory. Users willing
> to use names with extensions only have to add this directory to their PATH.
> For example, you can ship:
> /usr/bin/util
> /usr/share/package/bin/util.sh -> /usr/bin/util

But this will break the interface for users as well as long as they not
explicitely extend their path to
   /usr/share/{packages_with_extensions_in_names}/bin
The only way to not break the interfaces is to invent a dir say

   /usr/not_policy_compliant_named_dust-bin/

and move everything there ans set the policy compliant links to /usr/bin.
Not that I would be in favour of this suggestion but this is the only
way I would see to let things work out of the box if you globally set
your PATH to this dir.
 
> Users willing to use names with extension on Debian only have to do
> PATH=/usr/share/package/bin:$PATH

The problem is: A user has to read the docs before and adding this to
the PATH explicitely is as easy as learning about a renamed executable.
The goal is to let things work out of the box.

Kind regards

     Andreas. 

-- 
http://fam-tille.de


Reply to: