[Python-modules-commits] [androguard] 04/12: strip the .py off of scripts in /usr/bin

Hans-Christoph Steiner eighthave at moszumanska.debian.org
Wed Feb 17 19:59:28 UTC 2016


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

eighthave pushed a commit to branch master
in repository androguard.

commit 6c9232d66b0d533a653bb12a7b7bc7ebef7ab0d6
Author: Hans-Christoph Steiner <hans at eds.org>
Date:   Wed Feb 17 13:28:27 2016 +0100

    strip the .py off of scripts in /usr/bin
---
 debian/rules | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/debian/rules b/debian/rules
index ecd2737..5c823cc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,9 @@
 
 %:
 	dh $@ --with python2 --buildsystem=pybuild
+
+
+override_dh_auto_install:
+	dh_auto_install
+	for f in debian/androguard/usr/bin/*.py; do \
+		mv $$f `echo $$f | sed 's,\.py$$,,'`; done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/androguard.git



More information about the Python-modules-commits mailing list