[catkin] 01/01: Fix installation of bash completion scripts

Jochen Sprickerhof jspricke-guest at moszumanska.debian.org
Wed Apr 8 14:09:02 UTC 2015


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

jspricke-guest pushed a commit to branch master
in repository catkin.

commit 11784823a419299d36e16f449aec87f9996416dc
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Thu Apr 2 15:04:49 2015 +0200

    Fix installation of bash completion scripts
---
 debian/control | 1 +
 debian/rules   | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index becc807..8a73cce 100644
--- a/debian/control
+++ b/debian/control
@@ -24,6 +24,7 @@ Depends: python,
 	 python-empy,
 	 cmake,
 	 ${misc:Depends}
+Recommends: bash-completion
 Multi-Arch: foreign
 Description: Low-level build system macros and infrastructure for ROS
  Catkin contains CMake macros that are useful in the development of
diff --git a/debian/rules b/debian/rules
index 4164226..8d4e78d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,8 @@ override_dh_auto_clean:
 
 override_dh_auto_install:
 	dh_auto_install --
-	mv debian/catkin/usr/etc debian/catkin/etc
+	mkdir debian/catkin/etc
+	mv debian/catkin/usr/etc/catkin/profile.d debian/catkin/etc/bash_completion.d
 	-rm -f debian/catkin/usr/*.*
 	-rm -f debian/catkin/usr/.*
 	-rm -f debian/catkin/usr/share/catkin/cmake/templates/script.in

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



More information about the debian-science-commits mailing list