|
|
|
@ -293,6 +293,30 @@ class VariableClUpdateMetadataForce(Variable):
|
|
|
|
|
("skip", _("Skip")),
|
|
|
|
|
("auto", _("If needed"))]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class VariableClUpdateEgencacheForce(Variable):
|
|
|
|
|
"""
|
|
|
|
|
Принудительное выполнение egencache
|
|
|
|
|
"""
|
|
|
|
|
type = "choice"
|
|
|
|
|
value = "auto"
|
|
|
|
|
opt = ["--egencache"]
|
|
|
|
|
syntax = "--{choice}-egencache"
|
|
|
|
|
metavalue = "MODE"
|
|
|
|
|
#untrusted = True
|
|
|
|
|
|
|
|
|
|
def init(self):
|
|
|
|
|
self.help = ("'force' - " + _("force the update overlays cache") +
|
|
|
|
|
",\n'skip' - " + _("skip the overlays cache update") +
|
|
|
|
|
",\n'auto' - " + _("update overlays cache if it is outdated"))
|
|
|
|
|
self.label = _("Update overlays cache")
|
|
|
|
|
|
|
|
|
|
def choice(self):
|
|
|
|
|
return [("force", _("Force")),
|
|
|
|
|
("skip", _("Skip")),
|
|
|
|
|
("auto", _("If needed"))]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class VariableClUpdateEixupdateForce(Variable):
|
|
|
|
|
"""
|
|
|
|
|
Принудительное действие с eix-update
|
|
|
|
|