From 8df690c52530589816a7323c24e4d616478b596c Mon Sep 17 00:00:00 2001 From: Louis Taylor Date: Thu, 20 Nov 2014 13:09:03 +0000 Subject: [PATCH] Install bash completion for glanceclient This installs the new bash-complete file in the standard location, alongside the rest of the completion files: /etc/bash_completion.d/glance.bash_completion Change-Id: I2944c47d857f7125f370b2b1ee041d1282db09c5 --- lib/glance | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/glance b/lib/glance index 04c088aa6d..5b456393ff 100644 --- a/lib/glance +++ b/lib/glance @@ -290,6 +290,7 @@ function install_glanceclient { if use_library_from_git "python-glanceclient"; then git_clone_by_name "python-glanceclient" setup_dev_lib "python-glanceclient" + sudo install -D -m 0644 -o $STACK_USER {${GITDIR["python-glanceclient"]}/tools/,/etc/bash_completion.d/}glance.bash_completion fi }