|
|
|
@ -34,10 +34,15 @@ class VariableClBuilderProfileStorage(ReadonlyVariable):
|
|
|
|
|
|
|
|
|
|
def get(self):
|
|
|
|
|
builder_path = self.Get('cl_builder_path')
|
|
|
|
|
builder_ls = path.join(builder_path, "var/lib/layman")
|
|
|
|
|
return update_profile.RepositoryStorageSet(
|
|
|
|
|
update_profile.LocalStorage(builder_ls),
|
|
|
|
|
update_profile.CacheStorage('/var/calculate/tmp/update'))
|
|
|
|
|
if builder_path:
|
|
|
|
|
builder_ls = path.join(builder_path, "var/lib/layman")
|
|
|
|
|
return update_profile.RepositoryStorageSet(
|
|
|
|
|
update_profile.LocalStorage(builder_ls),
|
|
|
|
|
update_profile.CacheStorage('/var/calculate/tmp/update'))
|
|
|
|
|
else:
|
|
|
|
|
return update_profile.RepositoryStorageSet(
|
|
|
|
|
update_profile.CacheStorage('/var/calculate/tmp/update'))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class VariableClBuilderProfileUrl(update.VariableClUpdateProfileUrl):
|
|
|
|
|