summaryrefslogtreecommitdiff
path: root/xenserver
diff options
context:
space:
mode:
authorAlex Wang <alexw@nicira.com>2015-03-18 14:32:23 -0700
committerAlex Wang <alexw@nicira.com>2015-03-20 16:42:47 -0700
commit2c9907cde3be90e12efb3c2729c0a8e98e898a2d (patch)
treeb07cd453a9edfe4192c2e9d6d666facdd64c83f2 /xenserver
parentbb5dbe78592b3f39f0e7e6361c8796a5023363e5 (diff)
downloadopenvswitch-2c9907cde3be90e12efb3c2729c0a8e98e898a2d.tar.gz
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 <alexw@nicira.com>
Diffstat (limited to 'xenserver')
-rw-r--r--xenserver/openvswitch-xen.spec.in2
1 files changed, 2 insertions, 0 deletions
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