[SCM] Debian packaging of Net-Ifconfig-Wrapper CPAN distribution branch, master, updated. debian/0.09-1-16-ge1c91b1

gregor herrmann gregoa at debian.org
Thu Jan 19 19:35:34 UTC 2012


The following commit has been merged in the master branch:
commit 19ddba9273ded923083531394b7a28e9bb86f2a5
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Jan 19 20:28:07 2012 +0100

    fix hashbang in example
    
    Git-Dch: Ignore

diff --git a/debian/rules b/debian/rules
index 2d33f6a..1749286 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,11 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
 	dh $@
+
+override_dh_installexamples:
+	dh_installexamples
+	sed -i '1s|^#!/usr/local/bin/perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/*

-- 
Debian packaging of Net-Ifconfig-Wrapper CPAN distribution



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