Re: Creating /usr/bin/ entries to scripts the right way

2007-07-30 Thread gregor herrmann
On Mon, 30 Jul 2007 11:17:06 +0530, Kumar Appaiah wrote: > > If the source package contains debian/bin/harvestman then debian/install > > can contain this line: debian/bin/harvestman usr/bin/ > Unfortunately, the source package does not contain such a file. Bart was talking about the _Debian_ _s

Re: Creating /usr/bin/ entries to scripts the right way

2007-07-29 Thread Mike Hommey
On Mon, Jul 30, 2007 at 11:27:35AM +0530, Kumar Appaiah <[EMAIL PROTECTED]> wrote: > 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 > >

Re: Creating /usr/bin/ entries to scripts the right way

2007-07-29 Thread Kumar Appaiah
On Mon, Jul 30, 2007 at 11:27:35AM +0530, Kumar Appaiah wrote: > echo -e "#!/bin/sh\nexec /usr/bin/python2.4 \ > /usr/lib/python2.4/site-packages/HarvestMan/harvestman.py \"[EMAIL > PROTECTED]"" > harvestman OK, so it's actually this: echo -e "#!/bin/sh\nexec /usr/bin/python2.4 \

Re: Creating /usr/bin/ entries to scripts the right way

2007-07-29 Thread Kumar Appaiah
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 runti

Re: Creating /usr/bin/ entries to scripts the right way

2007-07-29 Thread Mike Hommey
On Mon, Jul 30, 2007 at 10:48:21AM +0530, Kumar Appaiah <[EMAIL PROTECTED]> wrote: > Dear Debian Mentors, > > While working on a Python command-line application (harvestman, which > is already in Debian), I have the necessity to create a /usr/bin > entry. Now, creating a symbolic link to the actu

Re: Creating /usr/bin/ entries to scripts the right way

2007-07-29 Thread Kumar Appaiah
On Mon, Jul 30, 2007 at 07:19:20AM +0200, Bart Martens wrote: > If the source package contains debian/bin/harvestman then debian/install > can contain this line: debian/bin/harvestman usr/bin/ Unfortunately, the source package does not contain such a file. It merely creates a symbolic link, if I r

Creating /usr/bin/ entries to scripts the right way

2007-07-29 Thread Kumar Appaiah
Dear Debian Mentors, While working on a Python command-line application (harvestman, which is already in Debian), I have the necessity to create a /usr/bin entry. Now, creating a symbolic link to the actual executable in /usr/lib/python2.4/... is what the provided installer does. But I want to rep