[rospkg] 01/01: Add rosversion patch
Jochen Sprickerhof
jspricke-guest at moszumanska.debian.org
Wed Oct 7 13:29:59 UTC 2015
This is an automated email from the git hooks/post-receive script.
jspricke-guest pushed a commit to branch master
in repository rospkg.
commit 319bc7718915ea1e642a024cc498994628456d9e
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date: Wed Oct 7 15:29:46 2015 +0200
Add rosversion patch
---
debian/patches/0003-Set-rosversion-to-Debian.patch | 21 +++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 22 insertions(+)
diff --git a/debian/patches/0003-Set-rosversion-to-Debian.patch b/debian/patches/0003-Set-rosversion-to-Debian.patch
new file mode 100644
index 0000000..bf511a0
--- /dev/null
+++ b/debian/patches/0003-Set-rosversion-to-Debian.patch
@@ -0,0 +1,21 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Wed, 7 Oct 2015 15:29:27 +0200
+Subject: Set rosversion to Debian
+
+---
+ scripts/rosversion | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/scripts/rosversion b/scripts/rosversion
+index 78f0677..bfd4a11 100755
+--- a/scripts/rosversion
++++ b/scripts/rosversion
+@@ -75,7 +75,7 @@ if len(sys.argv) == 2:
+ else:
+ distro_name = get_distro_name_from_roscore()
+ if not distro_name:
+- print('<unknown>')
++ print('Debian')
+ else:
+ print(distro_name)
+ sys.exit(0)
diff --git a/debian/patches/series b/debian/patches/series
index 252e277..d78c7f5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
0001-Set-default-ROS_PACKAGE_PATH-to-usr-share.patch
0002-Limit-search-in-usr-share.patch
+0003-Set-rosversion-to-Debian.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ros/rospkg.git
More information about the debian-science-commits
mailing list