[Slackbuilds-users] bashrun2 Slackbuild typo
Binh Nguyen
binhvng at gmail.com
Sat Oct 20 14:34:17 UTC 2012
On Sat, 20 Oct 2012 at 11:43 AM +0300, Audrius Kažukauskas wrote:
> On Sat, 2012-10-20 at 12:03:37 +0700, Binh Nguyen wrote:
> > I don't think that's a good approach; it causes 2 issues:
> >
> > (a) If upstream still uses /etc/bash_completion.d/, when upgrading
> > users would have an additional step of considering the ".new" file
> > (b) If upstream converts to /usr/share/bash-completion/completions/,
> > when upgrading there would be a leftover file in
> > /etc/bash_completion.d
> >
> > as opposed to clean upgradings whether upstream changes behavior or not.
> > The ".new" file should only be created when the new location is used by
> > upstream (and if there's a completion file in old location for local
> > changes too).
>
> I would have to agree with Robby on moving the file to the new place,
> it's analogous to what udev does with its rule files. System-wide
> completion files go to /usr/share/bash-completion/completions/ (without
> .new suffix, as they're not meant to be edited by the user in that
> location), while user modifications and additions go to
> /etc/bash_completion.d/. I have already done this change for a couple
> of my build scripts (node and pip), will submit them as soon as SBo
> floodgate is open.
Hmm... after reading your reply I think maybe I misunderstood what Robby
said -- I thought he was supportive of the method currently used in
bashrun2. If instead he was talking about what you suggested in your
reply, I totally agree with it.
-- Binh
More information about the SlackBuilds-users
mailing list