From 17f366722124cef253822ba3d78c560e766cb242 Mon Sep 17 00:00:00 2001 From: Varun Shastry Date: Wed, 4 Jun 2014 15:01:14 +0530 Subject: extras: bash command completion for gluster Change-Id: Ifd6e68b0288dc65e41e467b4ad02bfc3bded341f BUG: 1108767 Signed-off-by: Varun Shastry Reviewed-on: http://review.gluster.org/7979 Reviewed-by: Lalatendu Mohanty Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- glusterfs.spec.in | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'glusterfs.spec.in') diff --git a/glusterfs.spec.in b/glusterfs.spec.in index 72ad7311806..525822a53a9 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -702,6 +702,11 @@ install -p -m 0744 extras/hook-scripts/S56glusterd-geo-rep-create-post.sh \ find ./tests ./run-tests.sh -type f | cpio -pd %{buildroot}%{_prefix}/share/glusterfs +## Install bash completion for cli +install -p -m 0744 -D extras/command-completion/gluster.bash \ + %{buildroot}%{_sysconfdir}/bash_completion.d/gluster + + %clean rm -rf %{buildroot} @@ -868,6 +873,7 @@ fi %files cli %{_sbindir}/gluster %{_mandir}/man8/gluster.8* +%{_sysconfdir}/bash_completion.d/gluster %files devel %{_includedir}/glusterfs @@ -1022,6 +1028,9 @@ fi %ghost %attr(0600,-,-) %{_sharedstatedir}/glusterd/nfs/run/nfs.pid %changelog +* Thu Jun 12 2014 Varun Shastry +- Add bash completion config to the cli package + * Thu May 22 2014 Poornima G - Rename old hookscripts in an RPM-standard way. -- cgit