Package: maven-debian-helper
Version: 2.0.6
Severity: normal
Tags: patch
Dear maintainer,
mh_make looks for /usr/bin/mvnDebug, but the maven package no longer
contains that directly, at least not in a way apt-file understands.
The attached patch makes mh_make look for bin/mvnDebug instead.
Regards,
Stephen
diff -Nru maven-debian-helper-2.0.6/bin/mh_make maven-debian-helper-2.0.6+nmu1/bin/mh_make
--- maven-debian-helper-2.0.6/bin/mh_make 2015-11-12 16:08:43.000000000 +0100
+++ maven-debian-helper-2.0.6+nmu1/bin/mh_make 2016-05-05 15:26:57.000000000 +0200
@@ -134,7 +134,7 @@
exit 1
else
res="ok"
- apt-file search /usr/bin/mvnDebug | grep maven > /dev/null || res="failed"
+ apt-file search bin/mvnDebug | grep maven > /dev/null || res="failed"
if [ $? != 0 ] || [ "$res" == "failed" ]; then
echo "Warning: apt-file doesn't seem to be configured"
apt-file update
diff -Nru maven-debian-helper-2.0.6/debian/changelog maven-debian-helper-2.0.6+nmu1/debian/changelog
--- maven-debian-helper-2.0.6/debian/changelog 2016-02-29 14:43:33.000000000 +0100
+++ maven-debian-helper-2.0.6+nmu1/debian/changelog 2016-05-05 15:27:34.000000000 +0200
@@ -1,3 +1,10 @@
+maven-debian-helper (2.0.6+nmu1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Support newer maven packages in the check for apt-file.
+
+ -- Stephen Kitt <[email protected]> Thu, 05 May 2016 15:27:09 +0200
+
maven-debian-helper (2.0.6) unstable; urgency=medium
* Team upload.