From: Zac Medico Date: Mon, 18 Jan 2010 22:53:24 +0000 (-0000) Subject: Don't bail out if postinst fails. Thanks to Brain Harring for the suggestion. X-Git-Tag: v2.2_rc62~17 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=635e889b63cb2006e5297967a5926fde582979a2;p=portage.git Don't bail out if postinst fails. Thanks to Brain Harring for the suggestion. svn path=/main/trunk/; revision=15202 --- diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 07286b602..46b7f8333 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -3992,11 +3992,11 @@ class dblink(object): finally: self.settings.pop("PORTAGE_UPDATE_ENV", None) - # XXX: Decide how to handle failures here. if a != os.EX_OK: + # It's stupid to bail out here, so keep going regardless of + # phase return code. showMessage(_("!!! FAILED postinst: ")+str(a)+"\n", level=logging.ERROR, noiselevel=-1) - return a downgrade = False for v in otherversions: