Unmerge action for postrm

master3.3
Mike Hiretsky 12 years ago
parent 47ebe33c35
commit 0dcc151b80

@ -97,6 +97,7 @@ class VariableAcInstallUnmerge(ActionVariable):
Action variable which has value "up" on prerm ebuild phase
"""
def action(self,cl_action):
if cl_action == "merge" and self.Get('cl_ebuild_phase') == 'prerm':
if cl_action == "merge" and \
self.Get('cl_ebuild_phase') in ('prerm','postrm'):
return "on"
return "off"

Loading…
Cancel
Save