[SCM] Debian packaging of libimap-admin-perl branch, master, updated. d41deddfa9c07f3d74bbeed378bc4f3692cde6be

Florian Schlichting fschlich at zedat.fu-berlin.de
Mon Apr 9 21:37:18 UTC 2012


The following commit has been merged in the master branch:
commit 18028c0715c932f0defd699f9e5dcf5258544c9d
Author: Florian Schlichting <fschlich at zedat.fu-berlin.de>
Date:   Mon Apr 9 23:32:27 2012 +0200

    Fixed interpreter path on example scripts

diff --git a/debian/changelog b/debian/changelog
index 74bc32a..62f65e8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -26,6 +26,7 @@ libimap-admin-perl (1.6.7-1) UNRELEASED; urgency=low
   * Switched to source format 3.0 (quilt).
   * Bumped dh compatibility to level 8 (no changes necessary).
   * Added DEP-3 headers to no_interactive_tests.patch.
+  * Fixed interpreter path on example scripts.
 
  -- Ryan Niebur <ryanryan52 at gmail.com>  Tue, 01 Sep 2009 21:19:03 -0700
 
diff --git a/debian/rules b/debian/rules
index 6ea97ff..5a9d306 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,15 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
 	dh $@
 
 override_dh_auto_test:
 	NOINTERNET=1 dh_auto_test
+
+override_dh_installexamples:
+	dh_installexamples
+	find $(TMP)/usr/share/doc/$(PACKAGE)/examples -type f -print0 | \
+		xargs -r0 sed -i -e '1s|^#!\s*/usr/local/bin/perl|#!/usr/bin/perl|'

-- 
Debian packaging of libimap-admin-perl



More information about the Pkg-perl-cvs-commits mailing list