[gobolinux-devel] [gobolinux-commits] tools/Scripts/bin CommandNotFound

Jonas Karlsson jonka750 at student.liu.se
Mon Feb 25 19:27:03 NZDT 2008


On Sun, 24 Feb 2008 23:56:30 +0100, Michael Homer <michael at e.geek.nz> wrote:

> CVSROOT:	/sources/goboscripts
> Module name:	tools
> Changes by:	Michael Homer <mwh>	08/02/24 22:56:30
>
> Modified files:
> 	Scripts/bin    : CommandNotFound
>
> Log message:
> 	Offer Compile for executables found in multiple programs too. More comments.
[...]
>  		log('You can install one of these by typing (for example):')
>  		log(' sudo InstallPackage %s'%(packages[0]))
> +		log('or')
> +		log(' sudo Compile %s'%(packages[0]))
>  	else:
>  		log('The program "%s" is not currently installed. You can install it by typing:'%(cmd))
>  		log(' sudo InstallPackage %s'%(packages[0]))

You shouldn't recommend using sudo with the tools. They take the
appropriate level of autorization they need when they run. Actually
I've seen sudo breaking Compile due to environment reset.

-- 
/Jonas

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the gobolinux-devel mailing list