diff options
-rw-r--r-- | debian/changelog | 3 | ||||
-rwxr-xr-x | debian/rules | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 30d224b..d2071b8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,8 @@ libbot-training-perl (0.06-2) UNRELEASED; urgency=medium + [ Laurent Baillet ] + * fix lintian wrong-path-for-interpreter error + [ Salvatore Bonaccorso ] * debian/control: Use HTTPS transport protocol for Vcs-Git URI diff --git a/debian/rules b/debian/rules index 5f7581d..7dee826 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,8 @@ #!/usr/bin/make -f +PACKAGE = $(shell dh_listpackages) +TMP = $(CURDIR)/debian/$(PACKAGE) + %: dh $@ @@ -9,3 +12,7 @@ override_dh_auto_build: # Manify again with --utf8 due to E<AElig> pod2man --utf8 --section 3pm blib/lib/Bot/Training.pm > blib/man3/Bot::Training.3pm pod2man --utf8 --section 1p blib/script/bot-training > blib/man1/bot-training.1p + +override_dh_install: + dh_install + sed -i '1s|^#!/usr/bin/env perl|#!/usr/bin/perl|' $(TMP)/usr/bin/bot-training |