Re: [Pkgutil-users] Questions in non-interactive mode
Status: Beta
Brought to you by:
bonivart
|
From: Mark R B. <ma...@pr...> - 2010-11-11 08:49:16
|
On Wed 10/11/10 14:04 , Peter Bonivart bon...@op... sent: > > 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 Thanks Peter. Yes that would make sense. Exit with a non-zero exit status if -y was used. Regards, Mark. |