From 727f5a75aa9d619f2fc11108c7f1fddfb9fb8016 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Tue, 8 Feb 2005 20:46:48 +0000 Subject: Support --erroronfail as an option for %pre and %post blocks. This option will display an error dialog and terminate installation, instead of just logging a failure and continuing on (#124368). --- packages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages.py') diff --git a/packages.py b/packages.py index dbb5bc68b..b26dec180 100644 --- a/packages.py +++ b/packages.py @@ -54,8 +54,8 @@ def queryUpgradeContinue(intf, dir): sys.exit(0) return DISPATCH_FORWARD -def doPostAction(id, instPath): - id.instClass.postAction(instPath, flags.serial) +def doPostAction(id, instPath, intf = None): + id.instClass.postAction(instPath, flags.serial, intf) def firstbootConfiguration(id, instPath): if id.firstboot == FIRSTBOOT_RECONFIG: -- cgit