[Slackbuilds-users] bashrun2 Slackbuild typo
Robby Workman
rworkman at slackbuilds.org
Sat Oct 20 16:10:49 UTC 2012
On Sat, 20 Oct 2012 21:34:17 +0700
Binh Nguyen <binhvng at gmail.com> wrote:
> 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.
Good, because that's indeed what I meant :-)
-RW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20121020/9ec280b3/attachment.asc>
More information about the SlackBuilds-users
mailing list