is there an option in pkgadd to accept the default option?
I want to use pkgadd in a script and do not want to stop at intercative questions.
thx.
is there an option in pkgadd to accept the default option?
I want to use pkgadd in a script and do not want to stop at intercative questions.
thx.
You might want to create a response file for the package by using pkgask. Afterswards you should be able to install packages with pkgadd non-interative.
cheers
Darwin
actually I was able to use -a in pkgadd.
however, the operation hangs on this step:
Do you want this directory created now [y,n,?,q]
any idea how to give the 'y' value?
thx
as darwin mentioned before you have to use "pkgask"....
hth
I tried to use it before:
pkgask -r response -d lsof-4.77-sol10-x86-local
pkgask: ERROR: package does not contain an interactive request script
It may be that you need to create an admin file rather than a response file.
this is what I did: create an admin file and use pkgadd. I am only prompted on:
Do you want this directory created now [y,n,?,q]
is there an option to specify the default value (y) in either pkgadd or the admin file?
thx