Re: [Pkgutil-users] Questions in non-interactive mode
Status: Beta
Brought to you by:
bonivart
|
From: Peter B. <bon...@op...> - 2010-11-10 14:05:23
|
On Wed, Nov 10, 2010 at 2:59 PM, Mark R Bannister <ma...@pr...> wrote: > If you're trying to run pkgutil in non-interactive mode (i.e. pkgutil -yi > something), if a package fails to be installed properly, rather than exiting > with a non-zero exit status, pkgutil prompts "Exit from pkgutil and fix this > issue first (recommended?) [Y,n]" and waits for stdin. > > This is no good for when software is being installed via an automated > process. We really need pkgutil to support a proper non-interactive mode > when no questions will ever be asked. This was something I added back in from the Blastwave fork. I need to take a look at how it's implemented in my version. Maybe not prompt if -y is used would solve your problem? /peter |