Red Hat Bugzilla – Bug 584569
Move udisks bash completion to /etc/bash_completion.d
Last modified: 2013-02-26 14:43:35 EST
All the packages I know that install bash completions install them in /etc/bash_completion.d. I suggest changing udisks to do that as well (remember to own the /etc/bash_completion.d dir and not have a dependency on bash-completion).
Off topic, for upstream: no need to set up completion in non-interactive mode:
-[ -z "$BASH_VERSION" ] && return
+[ -z "$BASH_VERSION" -o -z "$PS1" ] && return
This bug appears to have been reported against 'rawhide' during the Fedora 14 development cycle.
Changing version to '14'.
More information and reason for this action is here:
Upstream patches submitted:
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Fixed in rawhide (fc19). Will try to fix for f18 and f17.
Not fixed, the file is still incorrectly in /etc/profile.d and not /etc/bash_completion.d, see initial comment. Looks like only the "off topic" change was done.
Got it. I don't have commit rights for fc18 but the partial fix was done for fc18 and fc19 and it seemed to work better but I will finish the fix.
I have the needed commit rights, let me know if you'd like me to take care of this (and if, for which branches).
If you have the commit rights go for it, all branches.
F17 has some other differences to F18 and I don't think this is serious enough to warrant a F17 update alone, so I committed and built F18+ only. Actually I don't think this is serious enough to warrant a F18 update alone either, so I didn't submit the bodhi update because there wasn't one for the previous build either.