[mojosetup] Plans for adding system menu entries

Nemo Der nemoder at gmail.com
Wed Dec 5 12:25:02 EST 2007


as I said earlier this is just a dirty hack until it gets implimented
cleanly in mojosetup itself.

On Dec 5, 2007 4:16 AM, Ludwig Nussel <ludwig.nussel at suse.de> wrote:

> Ole Jacob wrote:
> > On Wednesday 05 December 2007 09:15, Ludwig Nussel wrote:
> > > Nemo Der wrote:
> > > > if MojoSetup.info.homedir == "/root" then
> > > >         io.output("/usr/local/share/applications/spring.desktop")
> > > > else
> > > >         io.output(MojoSetup.info.homedir ..
> > > > "/.local/share/applications/spring.desktop")
> > > > end
> > >
> > > That's really retarded. Why use a nice scripting language if you
> > > don't use it for sandboxing to prevent people from doing arbitrary
> > > stupid things in their installer? Sure it's with best intentions but
> > > in the end such hacks hurt sooner or later. If you need to call
> > > arbitrary commands you can save yourself one abstraction level by
> > > using a shell script and dialog instead of a so called "installer".
> >
> > Do you have a better suggestion on how to do this? Implement the missing
> (?)
> > functions in mojosetup, or do some Lua stuff?
>
> Yes, a mojosetup built in mechanism should take care of the desktop
> file. You don't have to care about where and how to install the file
> and mojosetup can automatically uninstall it then (when that feature
> finally gets implemented some day).
>
> cu
> Ludwig
>
> --
>  (o_   Ludwig Nussel
>  //\
>  V_/_  http://www.suse.de/
> SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
>
>
>
> ---
> To unsubscribe, send a blank email to mojosetup-unsubscribe at icculus.org
> Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?61
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/mojosetup/attachments/20071205/4486177e/attachment.htm>


More information about the mojosetup mailing list