[SCM] Debian packaging of libnet-dhcp-perl branch, master, updated. upstream/0.68+dfsg-30-g3ab77e1

gregor herrmann gregoa at debian.org
Fri Jan 20 19:48:55 UTC 2012


The following commit has been merged in the master branch:
commit 6e131265df69b08d21bd49dc154107656875f50a
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Jan 20 20:44:55 2012 +0100

    Fix hashbang in modules.

diff --git a/debian/rules b/debian/rules
index 2d33f6a..a43803d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,12 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
 	dh $@
+
+override_dh_auto_install:
+	dh_auto_install
+	find $(TMP)/usr/share/perl5/Net/ -type f -name "*.pm" -print0 | \
+		xargs -r0 sed -i -e '1s|^#!/bin/false|#!/usr/bin/perl|'

-- 
Debian packaging of libnet-dhcp-perl



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