[med-svn] [gnumed-client] 01/01: Do not fiddle around with Python scripts any more

Andreas Tille tille at debian.org
Sun Mar 20 15:08:38 UTC 2016


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

tille pushed a commit to branch master
in repository gnumed-client.

commit a90cf2e7620aa002c339fdfbf2b27b8760c879ae
Author: Andreas Tille <tille at debian.org>
Date:   Sun Mar 20 16:07:55 2016 +0100

    Do not fiddle around with Python scripts any more
---
 debian/changelog |  6 ++++++
 debian/rules     | 14 --------------
 2 files changed, 6 insertions(+), 14 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d40713b..142ee07 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+gnumed-client (1.6.0+dfsg-2) UNRELEASED; urgency=medium
+
+  * Do not fiddle around with Python scripts any more
+
+ -- Andreas Tille <tille at debian.org>  Sun, 20 Mar 2016 15:38:55 +0100
+
 gnumed-client (1.6.0+dfsg-1) unstable; urgency=medium
 
   * New upstream version
diff --git a/debian/rules b/debian/rules
index 7612d40..ec36cda 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,20 +11,6 @@ doc=$(pkg)-doc
 
 override_dh_install:
 	dh_install
-
-	# Remove "#!/usr/bin/.*python" from Python scripts because they are
-	# called from wrappers and
-	# fix permission of scripts who are not handled above
-	for py in `find debian -name "*.py"` ; do \
-	   if `grep -q "^#!/usr/bin/.*python" $$py` ; then \
-	      grep -v "^#!/usr/bin/.*python" $${py} > $${py}~ ; \
-	      touch -r $${py} $${py}~ ; \
-	      mv -f $${py}~ $${py} ; \
-	   else \
-	      chmod 644 $${py} ; \
-	   fi ; \
-	done
-
 	# Install locale files into apropriate directories
 	for loc in `ls client/po/*.mo` ; do \
 	   country=`echo $${loc} | sed -e 's?.*/\([a-z][a-z]\)-$(pkg).mo?\1?' -e 's?.*/\([a-z][a-z]_[A-Z][A-Z]\)-gnumed.mo?\1?'` ; \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/gnumed-client.git



More information about the debian-med-commit mailing list