mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-08 13:24:23 +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
|
if ENABLE_BASH
|
||||||
dist_bashcomp_DATA = lxc
|
dist_bashcomp_DATA = _lxc
|
||||||
endif
|
endif
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
bash_completion = configure_file(
|
bash_completion = configure_file(
|
||||||
configuration: conf,
|
configuration: conf,
|
||||||
input: 'lxc.in',
|
input: '_lxc.in',
|
||||||
output: 'lxc',
|
output: '_lxc',
|
||||||
install: true,
|
install: true,
|
||||||
install_dir: bashcompletiondir)
|
install_dir: bashcompletiondir)
|
||||||
|
|
||||||
@ -34,6 +34,6 @@ foreach cmd: [
|
|||||||
'lxc-wait',
|
'lxc-wait',
|
||||||
]
|
]
|
||||||
install_symlink(cmd,
|
install_symlink(cmd,
|
||||||
pointing_to: 'lxc',
|
pointing_to: '_lxc',
|
||||||
install_dir: bashcompletiondir)
|
install_dir: bashcompletiondir)
|
||||||
endforeach
|
endforeach
|
||||||
|
@ -899,7 +899,7 @@ AC_CONFIG_FILES([
|
|||||||
config/apparmor/abstractions/start-container
|
config/apparmor/abstractions/start-container
|
||||||
config/selinux/Makefile
|
config/selinux/Makefile
|
||||||
config/bash/Makefile
|
config/bash/Makefile
|
||||||
config/bash/lxc
|
config/bash/_lxc
|
||||||
config/init/Makefile
|
config/init/Makefile
|
||||||
config/init/common/Makefile
|
config/init/common/Makefile
|
||||||
config/init/common/lxc-containers
|
config/init/common/lxc-containers
|
||||||
|
@ -2682,7 +2682,7 @@ if ENABLE_BASH
|
|||||||
install-data-local:
|
install-data-local:
|
||||||
cd $(DESTDIR)$(bashcompdir); \
|
cd $(DESTDIR)$(bashcompdir); \
|
||||||
for bin in $(bin_PROGRAMS) ; do \
|
for bin in $(bin_PROGRAMS) ; do \
|
||||||
ln -sf lxc $$bin ; \
|
ln -sf _lxc $$bin ; \
|
||||||
done
|
done
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user