Browse code

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

Louis Taylor authored on 2014/11/20 22:09:03
Showing 1 changed files
... ...
@@ -290,6 +290,7 @@ function install_glanceclient {
290 290
     if use_library_from_git "python-glanceclient"; then
291 291
         git_clone_by_name "python-glanceclient"
292 292
         setup_dev_lib "python-glanceclient"
293
+        sudo install -D -m 0644 -o $STACK_USER {${GITDIR["python-glanceclient"]}/tools/,/etc/bash_completion.d/}glance.bash_completion
293 294
     fi
294 295
 }
295 296