[med-svn] r23692 - trunk/packages/srst2/trunk/debian

Andreas Tille tille at moszumanska.debian.org
Fri Feb 24 10:37:43 UTC 2017


Author: tille
Date: 2017-02-24 10:37:43 +0000 (Fri, 24 Feb 2017)
New Revision: 23692

Modified:
   trunk/packages/srst2/trunk/debian/changelog
   trunk/packages/srst2/trunk/debian/rules
Log:
Make sure Python scripts are executable if they are called via symlink


Modified: trunk/packages/srst2/trunk/debian/changelog
===================================================================
--- trunk/packages/srst2/trunk/debian/changelog	2017-02-24 09:51:33 UTC (rev 23691)
+++ trunk/packages/srst2/trunk/debian/changelog	2017-02-24 10:37:43 UTC (rev 23692)
@@ -1,3 +1,10 @@
+srst2 (0.2.0-3) unstable; urgency=medium
+
+  * Make sure Python scripts are executable if they are called via symlink
+    Closes: #856018
+
+ -- Andreas Tille <tille at debian.org>  Fri, 24 Feb 2017 11:19:43 +0100
+
 srst2 (0.2.0-2) unstable; urgency=medium
 
   * Fix Python syntax error

Modified: trunk/packages/srst2/trunk/debian/rules
===================================================================
--- trunk/packages/srst2/trunk/debian/rules	2017-02-24 09:51:33 UTC (rev 23691)
+++ trunk/packages/srst2/trunk/debian/rules	2017-02-24 10:37:43 UTC (rev 23692)
@@ -25,6 +25,9 @@
 	chmod +x debian/$(DEBPKGNAME)/usr/share/srst2/database_clustering/get_genus_vfdb.sh
 	chmod +x debian/$(DEBPKGNAME)/usr/share/srst2/database_clustering/get_all_vfdb.sh
 	chmod -x debian/$(DEBPKGNAME)/usr/share/srst2/database_clustering/align_plot_tree_min3.py
+	for py in `find debian -name "*.py"` ; do \
+	    if head -n 1 $$py | grep -q '^#! */usr/bin/.*python' ; then chmod +x $$py ; fi ; \
+	done
 
 override_dh_auto_test:
 	cd tests && python test_slurm_srst2.py && python test_srst2.py 




More information about the debian-med-commit mailing list