[mojosetup] Plans for adding system menu entries

Ole Jacob ojt at gexcon.com
Wed Dec 5 04:27:27 EST 2007

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?

Ole Jacob

> cu
> Ludwig

More information about the mojosetup mailing list