[Portland] /opt setup

Wichmann, Mats D mats.d.wichmann at intel.com
Thu Jul 20 06:34:26 PDT 2006


When we worked on something similar xdg-utils in LSB a while back,
one of the pieces was a way for an application to "register" a
small script into /etc/profile.d.  /etc/profile.d/picasa.{sh,csh}
could handle adding an element to the path, no?

-----Original Message-----
From: portland-bounces at lists.freedesktop.org on behalf of Dan Kegel
Sent: Thu 7/20/2006 12:34 AM
To: gk4 at cactus.org
Cc: portland at lists.freedesktop.org
Subject: Re: [Portland] /opt setup
 
On 7/17/06, George Kraft <gk4 at cactus.org> wrote:
> This morning Waldo Bastian gave a Portland presentation at DDC06 in
> Ottawa.  He briefly discussed how to integrate /opt/ applications
> into /usr/.  I would like to recommend a one time global setup of /opt/
> via /etc/profile.d/ and for every /opt/ application to do a post install
> setup.

While we were testing Picasa, we found that it was neccessary to do
  ln -s /opt/picasa/bin/picasa /usr/bin/picasa
Otherwise it was too hard to explain how to run the app from the commandline.
(Seriously.  It has to be *that* easy.)
It made me cringe to do this, though.
I would much rather pollute /opt/bin, though for it to be useful /opt/bin
would have to be in all users' default PATH.
- Dan
_______________________________________________
Portland mailing list
Portland at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/portland


More information about the Portland mailing list