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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  Sergej Pupykin (sergej)
Thursday, 19 October 2017, 10:09 GMT
Reason for closing:  Fixed
Comment by Kevin (pancakes) - Wednesday, 11 October 2017, 10:34 GMT
The command:

`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.

Loading...