Operating System - HP-UX
1830936 Members
1935 Online
110017 Solutions
New Discussion

swremove does not remove directory

 
SOLVED
Go to solution
fl_1
Occasional Contributor

swremove does not remove directory

I have the following psf file:
vendor
tag ME
title "me"
description "me"
end

product
tag MY_BASE
machine_type 9000/[78]*
title "My Test"
architecture HP-UX_B.11.00_32/64
is_locatable false
is_patch false
os_name HP-UX
os_release ?.11.*
os_version *
directory /
vendor_tag ME
revision 1.0.0

fileset
tag MyDir
title "MY Directory"
architecture HP-UX_B.11.00_32/64
is_patch false
revision 1.0.0.0.0

file -m 755 -g host -o root -t d /mydir

end #fileset

end #Depot

I build a software depot.

I swinstall the fileset.

I see the directory created.

I swremove the fileset.

The directory still exists.

Why isn't the directory removed with swremove?

Thanks
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor

Re: swremove does not remove directory

Hi:

I believe that that is the normal behavior for 'swremove'.

Regards!

...JRF...
IT_2007
Honored Contributor
Solution

Re: swremove does not remove directory

when you use swremove to remove depot, it will delete filesets only not the directories. you have to remove manually.
fl_1
Occasional Contributor

Re: swremove does not remove directory

answer given by forum