[mojosetup] Plans for adding system menu entries

Nemo Der nemoder at gmail.com
Tue Dec 4 17:33:08 EST 2007

how about:

if MojoSetup.info.homedir == "/root" then
        io.output(MojoSetup.info.homedir ..

On Dec 4, 2007 4:22 AM, Ole Jacob <ojt at gexcon.com> wrote:

> Thanks for this! Seems usefull!
> One thing: What if the user installs as root instead of normal user. Then
> I
> would like to have the application menu entry end up in something
> like "/usr/local/share/applications". I know absolutely noting about lua.
> Is
> there a way to detect if installation is done as root and install
> the .desktop file in the right place depending on this?
> Regards,
> Ole Jacob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/mojosetup/attachments/20071204/85872079/attachment.htm>

More information about the mojosetup mailing list