debian/rules
changeset 2072 c0a685c67c5c
parent 1565 9590332b26c8
child 3745 9fa3585b160f
--- a/debian/rules	Thu Mar 09 12:20:27 2017 -0800
+++ b/debian/rules	Thu Mar 09 12:47:31 2017 -0800
@@ -18,8 +18,8 @@
 endif
 
 override_dh_python2:
-	# avoid conflict with mercurial's own hgext/__init__.py
-	find debian -name __init__.py -delete
+	# avoid conflict with mercurial's own hgext3rd/__init__.py
+	find debian -path '*/hgext3rd/__init__.py' -delete
 	dh_python2
 
 override_dh_auto_clean: clean-docs