Dnia 2014-11-11, o godz. 11:21:00 Duncan <1i5t5.dun...@cox.net> napisał(a):
> Michał Górny posted on Tue, 11 Nov 2014 11:03:03 +0100 as excerpted: > > > Dnia 2014-11-11, o godz. 09:53:58 Marc Schiffbauer <msch...@gentoo.org> > > napisał(a): > > > >> * Michał Górny schrieb am 10.11.14 um 22:18 Uhr: > >> >Hello, developers. > >> > > >> >I'm planning to commit this news item before >=2.1-r90 goes stable. > >> >I have rewritten the message to be more user-oriented like Rich > >> >suggested (big thanks to you!) and added a paragraph about loading > >> >bashcomp in bashrc. > >> > > >> >Please review. > >> > >> Looks good to me, but to remove "stale symlinks" you need to add the -L > >> option to find. Or write just "symlinks", because like this it will > >> remove *all* symlinks. > > > > Well, the meaning was 'all symlinks since they are stale now'. I will > > try to reword it. > > Note that some users (including me) have symlinks in > /etc/bash_completion.d/ that point to their own completions in > /usr/local/share/bash_completion/ or the like. If you do custom stuff like this, you already know enough to understand the consequences of removing the symlinks. You were on your own already, so don't expect that we're going to start holding your hand now. > But, the symlinks pointing to my completions in /usr/local are most > assuredly *NOT* stale, neither will remerging anything make them so. > > So I don't want to remove those symlinks, or I'd lose the connection to > my own completions (presuming the normal bash completion doesn't look in > /usr/local/share/bash_completion for them... I never claimed I to be a > bash-completion wizard, only to have hacked up something that seems to > work, and I want it to STAY working). Of course, you could have asked for proper /usr/local support... but why? It's easier to hack things around then complain. > So if indeed all installed symlinks should be stale at that point, then > the suggested -L -type l -delete would be a good change, as it wouldn't > remove any non-stale symlinks users had put there themselves. People who installed bash-completion after 27.08 have all completions in completionsdir already. For them, the symlinks will still be valid yet unnecessary. -- Best regards, Michał Górny
signature.asc
Description: PGP signature