discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: thoughts on openapp


From: BALATON Zoltan
Subject: Re: thoughts on openapp
Date: Wed, 27 Feb 2002 23:00:23 +0100 (CET)

On Wed, 27 Feb 2002, Nicola Pero wrote:
> > You should probably use "openapp" in that script so that the user can move 
> > the 
> > Application bundle without breaking the script. (So better don't use 
> > symlinks 
> > either.)
> 
> Hmm ... the point is good but perhaps we can ignore that. :-)
> 
> The reason is ... well there are not many places where you could move your
> application bundle to and still have openapp find it :-)
> 
> openapp will only look into 4 of them - $GNUSTEP_SYSTEM_ROOT/Apps, and
> idem with local, network, and user.
> 
> when you install your application, it will be installed in one of these
> four places.  I suppose having to move the application from one place to
> another one is going to be a rare thing.  The safest way to do it is of
> course to do a 'make uninstall' with the old GNUSTEP_INSTALLATION_DIR,
> then do a 'make install' with the new one.  That will take care of all
> symlinks.  If you move the package by hand, well I'm afraid you have to
> remove the old symlink and add the new one.

I'd expect normal users to use GWorkspace to move the application from one
folder to another and not use 'make uninstall; make install'. This would
break symlinks, but would work without them.

Maybe openapp should use a user settable APPPATH to look for apps instad
of the hardcoded four places.

Greetings,
BALATON Zoltan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]