You might try this

$ pkg contents -t file -a mode=0555 -o action.raw -a mode=[0-7][751][751][751] $(PKGNAME)

It's probably not perfect, but should give you a place to start.

    -Norm

On 04/14/10 03:03 PM, Ben wrote:
Hi all,

I'm installing some packages via a script and I want to know what the 
executables from the packages are called.
For example, The GIMP is installed using "SUNWgnome-img-editor", but is run via the command "gimp". 
 Similarly, OpenOffice.org is installed using "openoffice" and to run the app you use 
"openoffice.org3"

Is there any way to find out what the executable is called?  I can use trial 
and error and some intelligence, but a script can't so well...
I have so far looked at "pkg contents" and "pkg info" but neither of these are 
much help.

Many thanks for any help,

Ben

_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to