KStandardDirs and Autopackage
David Faure
faure at kde.org
Fri May 14 18:40:22 BST 2004
On Friday 14 May 2004 18:39, Klas Kalaß wrote:
> Am Freitag, 14. Mai 2004 18:31 schrieb David Faure:
> > On Friday 14 May 2004 18:20, Klas Kalaß wrote:
> > > Your application is in its own folder, yet you can access it from KDE
> > > without logging out or creating symlinks or such :-)
> >
> > Excellent idea.
> >
> > This specific script needs improvements though, it's going to break for
> > people with KDEDIR and without KDEDIRS - or with none of those.
> hm, in which way could it break? I had neither KDEDIR nor KDEDIRS set on my
> system when I wrote the script.
OK if none is set it will work.
But if you only have KDEDIR (e.g. /usr), your script sets KDEDIRS (to /opt/kmyfoo),
and then KDEDIR is ignored so /usr is suddenly not in the kde prefixes.
So instead it should set KDEDIRS to contain both (the new prefix, then the
value of $KDEDIR).
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the kde-core-devel
mailing list