Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Module zypper_repository now does not fail when the repo already exists #45489
Friend of mine discovered an issue in the zypper_repository os packaging module:
When you add a repository then everything works:
But when you add a repository from .repo and the repo already exists then it fails:
This is because we don't know the name of the repository perhaps we don't check the .repo file.
OK, so now I use zypper repository list to find the name of given repository.
I know there's still additional command but now it requires no additional request.