On 2013-04-19 17:28, Zdenek Pavlas wrote:
>> Using it in yum-utils is a matter of prepending "_xfunc yum " to all
>> calls of functions that are in yum's. There are some examples of this in
>> bash-completion itself.
> 
> Is that any better than adding a one-liner at the top?

Cleaner IMO, upstream supported way, and one subshell + pkg-config
invocation less.

>> BTW if assuming presence of bash-completion >= 2.0 is acceptable, there
>> are a few things that could be cleaned up.
> 
> Not sure about this.

Not sure what you're not sure of :), but if it's about >= 2.0 note that
the one-liner your original patch adds will require >= 2.0 (well 1.99)
anyway, the *.pc file didn't exist before that.

_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to