From 2c9907cde3be90e12efb3c2729c0a8e98e898a2d Mon Sep 17 00:00:00 2001 From: Alex Wang Date: Wed, 18 Mar 2015 14:32:23 -0700 Subject: bashcomp: Install and package completion scripts. This commit makes the bash completion scripts be installed to $(sysconfdir)/bash_completion.d/ through 'make install' and to /etc/bash_completion.d/ through package installation. This will make the scripts available for each bash session. An alternative is to put scripts to /usr/share/bash_completion/ directory. However, this is not supported by earlier version of bash completion. Signed-off-by: Alex Wang --- xenserver/openvswitch-xen.spec.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xenserver') diff --git a/xenserver/openvswitch-xen.spec.in b/xenserver/openvswitch-xen.spec.in index 3bae86a51..4d98d2e01 100644 --- a/xenserver/openvswitch-xen.spec.in +++ b/xenserver/openvswitch-xen.spec.in @@ -430,6 +430,8 @@ exit 0 %files %defattr(-,root,root) +/etc/bash_completion.d/ovs-appctl-bashcomp.bash +/etc/bash_completion.d/ovs-vsctl-bashcomp.bash /etc/init.d/openvswitch /etc/init.d/openvswitch-xapi-update /etc/xapi.d/plugins/openvswitch-cfg-update -- cgit v1.2.1