[libflickr-api-perl] 09/15: Remove executables file extension when install them

Lucas Kanashiro kanashiro-guest at moszumanska.debian.org
Sat Jul 25 20:58:35 UTC 2015


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

kanashiro-guest pushed a commit to branch master
in repository libflickr-api-perl.

commit 1c414eadff2fc81ae2466f09622acfda7b8ef5fd
Author: Lucas Kanashiro <kanashiro.duarte at gmail.com>
Date:   Sat Jul 25 15:59:48 2015 -0300

    Remove executables file extension when install them
---
 debian/changelog |  1 +
 debian/rules     | 10 ++++++++++
 2 files changed, 11 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index c5e0b4c..d92fbbe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ libflickr-api-perl (1.16-1) UNRELEASED; urgency=medium
   * Update dependencies
   * Declare compliance with Debian Policy 3.9.6
   * Add autopkgtest
+  * Remove executables file extension when install them
 
  -- Lucas Kanashiro <kanashiro.duarte at gmail.com>  Sat, 25 Jul 2015 15:38:13 -0300
 
diff --git a/debian/rules b/debian/rules
index 2d33f6a..bffa484 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,14 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(firstword $(shell dh_listpackages))
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
 	dh $@
+
+override_dh_auto_install:
+	dh_auto_install
+	mv $(TMP)/usr/bin/flickr_dump_stored_config.pl \
+		$(TMP)/usr/bin/flickr_dump_stored_config
+	mv $(TMP)/usr/bin/flickr_make_stored_config.pl \
+		$(TMP)/usr/bin/flickr_make_stored_config

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libflickr-api-perl.git



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