FS#55948 - [lxc] bash completion file location
Attached to Project:
Community Packages
Opened by Kevin (pancakes) - Wednesday, 11 October 2017, 10:27 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 19 October 2017, 10:09 GMT
Opened by Kevin (pancakes) - Wednesday, 11 October 2017, 10:27 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 19 October 2017, 10:09 GMT
|
Details
I noticed that in lxc 1:2.1.0-1, the bash completions
location is:
/etc/bash_completion.d/lxc It's the only package I have installed whose bash completion file is located in /etc/bash_completions.d/ so I assume it belongs in /usr/share/bash-completion/completions/ instead. Note that the AUR package "lxd" currently writes to /usr/share/bash-completion/completions/lxc |
This task depends upon
`pacman -Fo /etc/bash_completion.d/lxc`
results in:
`etc/bash_completion.d/lxc is owned by community/lxc 1:2.1.0-1`
and the PKGBUILD contains the line:
sed -i \
-e 's|$(sysconfdir)/bash_completion.d/|/usr/share/bash-completion/completions/|g'
Which may not be working as intended.