[Python-apps-commits] r13251 - in packages/mercurial/trunk/debian (rules)

vicho at users.alioth.debian.org vicho at users.alioth.debian.org
Fri May 27 19:18:16 UTC 2016


    Date: Friday, May 27, 2016 @ 19:18:15
  Author: vicho
Revision: 13251

simplify override_dh_python2 as suggested by Santiago Vila <sanvila at unex.es>

Modified:
  packages/mercurial/trunk/debian/rules

Modified: packages/mercurial/trunk/debian/rules
===================================================================
--- packages/mercurial/trunk/debian/rules	2016-05-27 13:45:23 UTC (rev 13250)
+++ packages/mercurial/trunk/debian/rules	2016-05-27 19:18:15 UTC (rev 13251)
@@ -83,11 +83,9 @@
 		-name '*.so' ! -type d -delete , \
 		-type d -empty -delete
 
-override_dh_python2:
+override_dh_python2-arch:
 	dh_python2
-	if test -d debian/mercurial; then \
-		find debian/mercurial/usr/share -type d -empty -delete ; \
-	fi
+	find debian/mercurial/usr/share -type d -empty -delete ; \
 
 override_dh_auto_clean: mercurial/__version__.py
 	cp -a mercurial/__version__.py mercurial/__version__.py.save




More information about the Python-apps-commits mailing list