|
|
|
@ -687,10 +687,11 @@ class VariableClUpdateOtherGitExists(Variable):
|
|
|
|
|
repos_path = 'cl_update_repos_storage'
|
|
|
|
|
|
|
|
|
|
def get(self):
|
|
|
|
|
rep = f"{self.Get(self.repos_path)}/container"
|
|
|
|
|
if os.path.exists(os.path.join(rep, '.git')):
|
|
|
|
|
return True
|
|
|
|
|
repos = self.Get(self.repos_path)
|
|
|
|
|
for repo in listDirectory(repos):
|
|
|
|
|
if not os.path.exists(os.path.join(repos, os.path.join(repo, '.git'))):
|
|
|
|
|
return False
|
|
|
|
|
return True
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|