[ros-wstool] 02/03: Fix location of completion scripts

Jochen Sprickerhof jspricke at moszumanska.debian.org
Tue Jul 18 07:55:22 UTC 2017


This is an automated email from the git hooks/post-receive script.

jspricke pushed a commit to branch patch-queue/master
in repository ros-wstool.

commit e1c7c7562c90427da1899173204b64acb8ecc788
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Mon Nov 16 17:54:20 2015 +0100

    Fix location of completion scripts
    
    
    Gbp-Pq: Name 0001-Fix-location-of-completion-scripts.patch
---
 setup.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/setup.py b/setup.py
index 16d6a3a..d678db0 100644
--- a/setup.py
+++ b/setup.py
@@ -46,10 +46,10 @@ def _resolve_prefix(prefix, type):
 def get_data_files(prefix):
     data_files = []
     bash_comp_dest = os.path.join(_resolve_prefix(prefix, 'bash_comp'),
-                                  'etc/bash_completion.d')
+                                  'share/bash-completion/completions')
     data_files.append((bash_comp_dest, ['completion/wstool-completion.bash']))
     zsh_comp_dest = os.path.join(_resolve_prefix(prefix, 'zsh_comp'),
-                                 'share/zsh/site-functions')
+                                 'share/zsh/vendor-completions')
     data_files.append((zsh_comp_dest, ['completion/_wstool',
                                        'completion/wstool-completion.bash']))
     return data_files

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ros/ros-wstool.git



More information about the debian-science-commits mailing list