|
|
|
@ -53,9 +53,14 @@ class VariableAcUpdateSync(ReadonlyVariable):
|
|
|
|
|
return self.Get('cl_update_world')
|
|
|
|
|
return ""
|
|
|
|
|
|
|
|
|
|
class VariableClUpdateWorldDefault(Variable):
|
|
|
|
|
"""
|
|
|
|
|
Ad-hoc
|
|
|
|
|
"""
|
|
|
|
|
value = "update"
|
|
|
|
|
|
|
|
|
|
class VariableClUpdateWorld(Variable):
|
|
|
|
|
type = "choice"
|
|
|
|
|
value = "update"
|
|
|
|
|
opt = ["--world"]
|
|
|
|
|
syntax = "--{choice}-world"
|
|
|
|
|
metavalue = "MODE"
|
|
|
|
@ -66,6 +71,9 @@ class VariableClUpdateWorld(Variable):
|
|
|
|
|
",\n'update' - " + _("update the system packages list"))
|
|
|
|
|
self.label = _("System packages list")
|
|
|
|
|
|
|
|
|
|
def get(self):
|
|
|
|
|
return self.Get('cl_update_world_default')
|
|
|
|
|
|
|
|
|
|
def choice(self):
|
|
|
|
|
return [("rebuild", _("Rebuild")),
|
|
|
|
|
("merge", _("Merge")),
|
|
|
|
|