Operating System - HP-UX
1753962 Members
7515 Online
108811 Solutions
New Discussion юеВ

Re: Installed location of a package

 
Dennis Handly
Acclaimed Contributor

Re: Installed location of a package

>Even then "swlist -l file Test" shows
/opt/Test/Test.txt

Hmm, this seems broken.
And the -v doesn't have /abc/Test anywhere?
Vibhor Kumar Agarwal
Esteemed Contributor

Re: Installed location of a package

It has

The "location" attribute of "swlist -v" shows /abc/Test.

Shouldn't "swlist -l file Test" also show files are under /abc?
Vibhor Kumar Agarwal
Dennis Handly
Acclaimed Contributor

Re: Installed location of a package

>The "location" attribute of "swlist -v" shows /abc/Test. Shouldn't "swlist -l file Test" also show files are under /abc?

I can only assume that by changing only location, all of the IPD entries can be left alone.
Vibhor Kumar Agarwal
Esteemed Contributor

Re: Installed location of a package

Sounds weird.
There are gurus of packaging here. Anybody having more ideas.
Vibhor Kumar Agarwal
Dennis Handly
Acclaimed Contributor

Re: Installed location of a package

I tried a small example and it is as you said.

If you want the installed location you are going to have to glue lines:
$ swlist -l file -a location SwPackager_dummy
# SwPackager_dummy /var/tmp/FIREFOX_stuff/YUK
# SwPackager_dummy.SPB-HELP_dummy /var/tmp/FIREFOX_stuff/YUK
/var/tmp/stuff/sin.c

Where sin.c is in:
/var/tmp/FIREFOX_stuff/YUK/var/tmp/stuff/sin.c
Vibhor Kumar Agarwal
Esteemed Contributor

Re: Installed location of a package

You meant to say it's happening the way this whole post is about?

I couldn't get your example.
Vibhor Kumar Agarwal
Dennis Handly
Acclaimed Contributor

Re: Installed location of a package

>it's happening the way this whole post is about?

Yes and it looks like it's by design.

>I couldn't get your example.

The PSF had: /var/tmp/stuff/sin.c

swinstall ... SwPackager_dummy,l=/var/tmp/FIREFOX_stuff/YUK
Vibhor Kumar Agarwal
Esteemed Contributor

Re: Installed location of a package

Probably a bad design.

Thanks for all your efforts.
Vibhor Kumar Agarwal