You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
597 B

diff --git a/debuginfo-install.py b/debuginfo-install.py
index 0f026f1..bb61a1d 100755
--- a/debuginfo-install.py
+++ b/debuginfo-install.py
@@ -86,7 +86,10 @@ class DebugInfoInstall(YumUtilBase):
for repo in self.repos.listEnabled():
repos[repo.id] = repo
for repoid in repos:
- di = '%s-debuginfo' % repoid
+ if repoid.endswith('-rpms'):
+ di = repoid[:-5] + '-debug-rpms'
+ else:
+ di = '%s-debuginfo' % repoid
if di in repos:
continue
repo = repos[repoid]