On Mon, Jul 30, 2007 at 07:39:59AM +0200, Mike Hommey wrote: > This is just the fine way. Or, for 2 lines, you can directly write them > in debian/rules. BTW, I would recommend you to, and to hard code the > python version in the script provided by the package instead of using > pyversions at runtime : if your package is built for python 2.4 and 2.5, > and is installed when python 2.6 becomes default, it will stop working.
That's a good point. But I would like you to elaborate on this. 1. How do I put this in rules? Will this be OK: echo -e "#!/bin/sh\nexec /usr/bin/python2.4 \ /usr/lib/python2.4/site-packages/HarvestMan/harvestman.py \"[EMAIL PROTECTED]"" > harvestman (It seems to dump the required thing!). 2. As you see, in the above string, I have hard coded python2.4. I guess, when Python 2.5 becomes "current", I just make another upload with Python 2.5 as current. Is that correct? Thanks! Kumar -- Kumar Appaiah, 458, Jamuna Hostel, Indian Institute of Technology Madras, Chennai - 600 036
signature.asc
Description: Digital signature