|
|
|
@ -70,7 +70,7 @@ Utility for installation and configuration of Calculate Linux"""),
|
|
|
|
|
for val in vals.split(','):
|
|
|
|
|
k,o,v = val.partition('=')
|
|
|
|
|
if self.clVars.exists(k):
|
|
|
|
|
if not self.clVars.Set(k,v):
|
|
|
|
|
if not self.clVars.SetWriteVar(k,v):
|
|
|
|
|
return False
|
|
|
|
|
else:
|
|
|
|
|
self.printERROR(_('variable %s not found')%k)
|
|
|
|
@ -110,7 +110,11 @@ Utility for installation and configuration of Calculate Linux"""),
|
|
|
|
|
self.processDisplayVars(options.vars)
|
|
|
|
|
return True
|
|
|
|
|
elif not options.T is None:
|
|
|
|
|
return self.applyTemplatesForSystem()
|
|
|
|
|
if self.applyTemplatesForSystem():
|
|
|
|
|
self.clVars.WriteVars()
|
|
|
|
|
return True
|
|
|
|
|
else:
|
|
|
|
|
return False
|
|
|
|
|
else:
|
|
|
|
|
return False
|
|
|
|
|
|
|
|
|
|