Re: KLF setup

2007-05-10 Thread Matthew Paul Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On May 10, 2007, at 3:01 AM, George Farris wrote: > ... > Couldn't agree more, however, in the interim if there was some concise > docs for Feisty it would be great. Maybe we could get something going > here to solve the problem until the GUI wizards

Re: /usr/local/bin in $PATH in system scripts?

2007-05-10 Thread Forest Bond
On Wed, May 09, 2007 at 07:03:30PM -0400, Jim Doherty wrote: > Sorry, I have no idea what ubuntu policy is. But good defensive > scripting practice includes setting your $PATH to something safe. A > good script should always not trust the environment it was handed along > with many other things

Re: /usr/local/bin in $PATH in system scripts?

2007-05-10 Thread Fergal Daly
On 10/05/07, Forest Bond <[EMAIL PROTECTED]> wrote: > On Wed, May 09, 2007 at 07:03:30PM -0400, Jim Doherty wrote: > > Sorry, I have no idea what ubuntu policy is. But good defensive > > scripting practice includes setting your $PATH to something safe. A > > good script should always not trust t

Re: KLF setup

2007-05-10 Thread George Farris
On Thu, 2007-10-05 at 19:07 +1200, Matthew Paul Thomas wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On May 10, 2007, at 3:01 AM, George Farris wrote: > > ... > > Couldn't agree more, however, in the interim if there was some concise > > docs for Feisty it would be great. Maybe we

Re: /usr/local/bin in $PATH in system scripts?

2007-05-10 Thread Micah Cowan
Fergal Daly wrote: > On 10/05/07, Forest Bond <[EMAIL PROTECTED]> wrote: >> On Wed, May 09, 2007 at 07:03:30PM -0400, Jim Doherty wrote: >>> Sorry, I have no idea what ubuntu policy is. But good defensive >>> scripting practice includes setting your $PATH to something safe. A >>> good script sho

Re: /usr/local/bin in $PATH in system scripts?

2007-05-10 Thread Fergal Daly
On 10/05/07, Micah Cowan <[EMAIL PROTECTED]> wrote: > Fergal Daly wrote: > > On 10/05/07, Forest Bond <[EMAIL PROTECTED]> wrote: > >> On Wed, May 09, 2007 at 07:03:30PM -0400, Jim Doherty wrote: > >>> Sorry, I have no idea what ubuntu policy is. But good defensive > >>> scripting practice include

What to do in case of power down while updating/upgrading from site or from a CD

2007-05-10 Thread shirish
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, Its partly a question & partly an idea. Sorry if its a repost.The way I look at it when we update, upgrade either from CD or on-line if the power goes down is there some sane way so that the it starts the next part of doing things when y

Re: /usr/local/bin in $PATH in system scripts?

2007-05-10 Thread Ming Hua
On Thu, May 10, 2007 at 08:59:19AM -0700, Micah Cowan wrote: > Fergal Daly wrote: > > > You are also implying that everything in /usr/bin that start with > > > > #! /usr/bin/{perl,python,...} > > > > is wrong and should actually start with > > > > #! {perl,python,...} > > That doesn't work. #!

Re: /usr/local/bin in $PATH in system scripts?

2007-05-10 Thread Micah Cowan
Ming Hua wrote: > On Thu, May 10, 2007 at 08:59:19AM -0700, Micah Cowan wrote: >> Fergal Daly wrote: >> >>> You are also implying that everything in /usr/bin that start with >>> >>> #! /usr/bin/{perl,python,...} >>> >>> is wrong and should actually start with >>> >>> #! {perl,python,...} >> That do

Re: /usr/local/bin in $PATH in system scripts?

2007-05-10 Thread Ming Hua
On Thu, May 10, 2007 at 08:33:41PM -0700, Micah Cowan wrote: > Ming Hua wrote: > > > > For the sake of discussion, I think > > > > #!/usr/bin/env perl > > > > will pick up $PATH and is a valid #! line. I also believe this is widely > > used. > > Yes, it will. But isn't that a somewhat silly su

Re: /usr/local/bin in $PATH in system scripts?

2007-05-10 Thread Micah Cowan
Ming Hua wrote: > On Thu, May 10, 2007 at 08:33:41PM -0700, Micah Cowan wrote: >> Ming Hua wrote: >>> For the sake of discussion, I think >>> >>> #!/usr/bin/env perl >>> >>> will pick up $PATH and is a valid #! line. I also believe this is widely >>> used. >> Yes, it will. But isn't that a somewha