mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-04 05:53:37 +00:00
bash: rename main bash completion file
Since the `lxc` binary is actually provided by lxd, the main bash-completion file needs to be moved away to not conflict with a bash completion file provided for the `lxc` binary by lxd. Signed-off-by: Antonio Terceiro <terceiro@debian.org>
This commit is contained in:
parent
053cb087b6
commit
25d1b3fb09
@ -1,5 +1,5 @@
|
||||
EXTRA_DIST = lxc
|
||||
EXTRA_DIST = _lxc
|
||||
|
||||
if ENABLE_BASH
|
||||
dist_bashcomp_DATA = lxc
|
||||
dist_bashcomp_DATA = _lxc
|
||||
endif
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
bash_completion = configure_file(
|
||||
configuration: conf,
|
||||
input: 'lxc.in',
|
||||
output: 'lxc',
|
||||
input: '_lxc.in',
|
||||
output: '_lxc',
|
||||
install: true,
|
||||
install_dir: bashcompletiondir)
|
||||
|
||||
@ -34,6 +34,6 @@ foreach cmd: [
|
||||
'lxc-wait',
|
||||
]
|
||||
install_symlink(cmd,
|
||||
pointing_to: 'lxc',
|
||||
pointing_to: '_lxc',
|
||||
install_dir: bashcompletiondir)
|
||||
endforeach
|
||||
|
@ -899,7 +899,7 @@ AC_CONFIG_FILES([
|
||||
config/apparmor/abstractions/start-container
|
||||
config/selinux/Makefile
|
||||
config/bash/Makefile
|
||||
config/bash/lxc
|
||||
config/bash/_lxc
|
||||
config/init/Makefile
|
||||
config/init/common/Makefile
|
||||
config/init/common/lxc-containers
|
||||
|
@ -2682,7 +2682,7 @@ if ENABLE_BASH
|
||||
install-data-local:
|
||||
cd $(DESTDIR)$(bashcompdir); \
|
||||
for bin in $(bin_PROGRAMS) ; do \
|
||||
ln -sf lxc $$bin ; \
|
||||
ln -sf _lxc $$bin ; \
|
||||
done
|
||||
endif
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user