diff --git a/library/packaging/zypper_repository b/library/packaging/zypper_repository index 089bd35b4d..1eb4ffdb34 100644 --- a/library/packaging/zypper_repository +++ b/library/packaging/zypper_repository @@ -105,7 +105,7 @@ def repo_exists(module, **kwargs): for k, v in realrepo.items(): if k in repocmp: - if v != repocmp[k]: + if v.rstrip("/") != repocmp[k].rstrip("/"): return False return True