Commit 8dae68a5 authored by Lorenz Hüdepohl's avatar Lorenz Hüdepohl
Browse files

Allow branching of 'system' package to home: projects

parent e0618d8f
......@@ -912,7 +912,7 @@ def sync_projects(api_url, package=None, from_project="software", to_projects=No
if len(enable_repos) == 0:
print("Not branching package {0}, is disabled".format(orig_package))
elif enable_repos == ["system"]:
elif enable_repos == ["system"] and "System" not in osc.core.get_repositories_of_project(api_url, to_project):
print("Not branching package {0}, is only enabled for 'system'".format(orig_package))
filelist = osc.core.meta_get_filelist(api_url, from_project, orig_package)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment