|
|
|
@ -24,11 +24,11 @@ setLocalTranslate('cl_update3',sys.modules[__name__])
|
|
|
|
|
|
|
|
|
|
class VariableAcUpdateSync(ReadonlyVariable):
|
|
|
|
|
"""
|
|
|
|
|
Action variable which has value "up" for package install and
|
|
|
|
|
Action variable which has value "on" for package install and
|
|
|
|
|
install this package
|
|
|
|
|
"""
|
|
|
|
|
def get(self):
|
|
|
|
|
action = self.Get("cl_action")
|
|
|
|
|
if action in ("sync",):
|
|
|
|
|
return "up"
|
|
|
|
|
return "on"
|
|
|
|
|
return ""
|
|
|
|
|