portupgrade, batch mode?

Frank Shute frank at shute.org.uk
Sun Feb 7 19:32:40 UTC 2010

On Sun, Feb 07, 2010 at 12:59:53PM +0100, n dhert wrote:
> When using portupgrade, from time to time, there is a package that displays
> an options menu and waits for a interactive response (like hitting OK to
> accept the defaults and continue). Is there way to specify that portupgrade
> should always accept the defaults and not wait for user input?

What I do when portupgrading something that will require user input in
an options menu is to use the -C switch to portupgrade.

This enables you to twiddle with the options of all the ports before
the main build starts.

If you know that you want to use the defaults, then you can use the
the --batch switch or put BATCH="yes" in make.conf IIRC.

But IMHO, remembering to always give portupgrade the -C switch is the
way to go.




 Contact info: http://www.shute.org.uk/misc/contact.html

More information about the freebsd-questions mailing list