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

vdanjean at users.alioth.debian.org vdanjean at users.alioth.debian.org
Thu Jul 9 15:23:55 UTC 2009


    Date: Thursday, July 9, 2009 @ 15:23:50
  Author: vdanjean
Revision: 3256

/usr/bin/hg must use python and not pythonX.Y

Modified:
  packages/mercurial/trunk/debian/changelog
  packages/mercurial/trunk/debian/rules

Modified: packages/mercurial/trunk/debian/changelog
===================================================================
--- packages/mercurial/trunk/debian/changelog	2009-07-08 22:16:59 UTC (rev 3255)
+++ packages/mercurial/trunk/debian/changelog	2009-07-09 15:23:50 UTC (rev 3256)
@@ -1,3 +1,10 @@
+mercurial (1.3-2) unstable; urgency=low
+
+  * Do not hardcode the python interpreter in the hg script
+    (ie use python and not pythonX.Y...) [thanks Vernon Tang]
+
+ -- Vincent Danjean <vdanjean at debian.org>  Thu, 09 Jul 2009 17:21:25 +0200
+
 mercurial (1.3-1) unstable; urgency=low
 
   [ Vincent Danjean ]

Modified: packages/mercurial/trunk/debian/rules
===================================================================
--- packages/mercurial/trunk/debian/rules	2009-07-08 22:16:59 UTC (rev 3255)
+++ packages/mercurial/trunk/debian/rules	2009-07-09 15:23:50 UTC (rev 3256)
@@ -18,6 +18,8 @@
 
 install-python%: build-python%
 	python$* setup.py install --root $(CURDIR)/debian/tmp --install-layout=deb
+	# Do not hardcode the python interpreter
+	sed -i '1c#!/usr/bin/python' debian/tmp/usr/bin/hg
 
 
 override_dh_install:




More information about the Python-apps-commits mailing list