summaryrefslogtreecommitdiff
path: root/rhel/openvswitch.spec.in
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 /rhel/openvswitch.spec.in
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 'rhel/openvswitch.spec.in')
-rw-r--r--rhel/openvswitch.spec.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/rhel/openvswitch.spec.in b/rhel/openvswitch.spec.in
index 56603ccbb..1ea685d3b 100644
--- a/rhel/openvswitch.spec.in
+++ b/rhel/openvswitch.spec.in
@@ -123,6 +123,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
%config(noreplace) /etc/logrotate.d/openvswitch
/etc/sysconfig/network-scripts/ifup-ovs