[Python-apps-commits] r793 - in packages/phenny/trunk/debian (rules)

nslater-guest at users.alioth.debian.org nslater-guest at users.alioth.debian.org
Sun Mar 9 22:23:07 UTC 2008


    Date: Sunday, March 9, 2008 @ 22:23:05
  Author: nslater-guest
Revision: 793

Fixed make formatting of comments

Modified:
  packages/phenny/trunk/debian/rules

Modified: packages/phenny/trunk/debian/rules
===================================================================
--- packages/phenny/trunk/debian/rules	2008-03-09 13:45:45 UTC (rev 792)
+++ packages/phenny/trunk/debian/rules	2008-03-09 22:23:05 UTC (rev 793)
@@ -32,8 +32,7 @@
 	chmod -R 644 debian/phenny/usr/share/python-support/phenny/phenny/modules/*.py
 	cp phenny debian/phenny/usr/bin
 ifeq (old,$(shell dpkg --compare-versions "`pyversions -vd`" lt '2.5' && echo old))
-	# default Python version less than 2.5, lets change the hashbang
-	sed -i -e '1s/env python/python2.5/' debian/phenny/usr/bin/phenny
+	sed -i -e '1s/env python/python2.5/' debian/phenny/usr/bin/phenny # only add hashbang if needed
 endif
 	help2man -N -n "An extensible IRC bot written in Python" debian/phenny/usr/bin/phenny > phenny.1
 




More information about the Python-apps-commits mailing list