[yum-commits] debuginfo-install.py

James Antill james at osuosl.org
Mon Feb 9 19:39:08 UTC 2009


 debuginfo-install.py |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 7e6d520d260165f20e5d889fc6438d0482814a38
Author: James Antill <james at and.org>
Date:   Mon Feb 9 14:38:23 2009 -0500

    Simple hacky workaround for BZ 484603, debuginfo-install x x-debuginfo

diff --git a/debuginfo-install.py b/debuginfo-install.py
index 2dfc5b7..99cc177 100755
--- a/debuginfo-install.py
+++ b/debuginfo-install.py
@@ -84,6 +84,8 @@ class DebugInfoInstall(YumUtilBase):
         self.doTransaction()
         self.doUnlock()    
     def di_try_install(self, po):
+        if po.name.endswith('-debuginfo'): # Wildcard matches produce this
+            return
         di_name = '%s-debuginfo' % po.name
         if self.pkgSack.searchNevra(name=di_name, arch=po.arch):
             test_name = di_name


More information about the Yum-commits mailing list