[libcpanel-json-xs-perl] 04/04: Fix example interpreter path

Florian Schlichting fsfs at moszumanska.debian.org
Tue Nov 26 19:59:31 UTC 2013


This is an automated email from the git hooks/post-receive script.

fsfs pushed a commit to branch master
in repository libcpanel-json-xs-perl.

commit 780e714d3eb320cbe76fc8db2edad64dfb6ff091
Author: Florian Schlichting <fsfs at debian.org>
Date:   Tue Nov 26 20:58:02 2013 +0100

    Fix example interpreter path
---
 debian/rules | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..0429587 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|^#!/opt/bin/perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/*

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcpanel-json-xs-perl.git



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