Operating System - HP-UX
1856488 Members
11049 Online
104113 Solutions
New Discussion

Create empty directories with swpackage/install

 
Stephen Mullaney
New Member

Create empty directories with swpackage/install

I want to create a set of empty directories using SD-UX but from my experiments it appears you must include a file in a directory during swpackage.

Any have a way of simply creating the emnpty directory using the PSF and not a control script?

Thanks
2 REPLIES 2
Stefan Farrelly
Honored Contributor

Re: Create empty directories with swpackage/install


Hmm, why not use a control file ? simply adding a 1 liner to mkdir in any othe control scripts, preinstall, configure etc. will do it.

Alternatively, have your tried the directory xxx= in the psf file ?
Im from Palmerston North, New Zealand, but somehow ended up in London...
Steffi Jones_1
Esteemed Contributor

Re: Create empty directories with swpackage/install

Hi Stephen,

you can try the following steps:

1) vi void.psf
with:

product
tag void
fileset
tag void

2) swpackage -s ./void.psf

3) swinstall void

Maybe that will help,

Steffi Jones