[Yum-devel] [PATCH] bash completion: load yum.bash in. BZ 953210
zpavlas at redhat.com
Mon Apr 22 15:20:51 UTC 2013
> Cleaner IMO, upstream supported way, and one subshell + pkg-config
> invocation less.
Yes, it's cleaner. Can we use _xfunc in rhel7? Anyway, I'd rather
just add a "_xfunc yum :" one-liner and not touch anything else.
> 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.
It does not, IMO. If yum.bash is in compat dir, it has been already
sourced, so _yum is defined so the pkg-config call is skipped.
More information about the Yum-devel