5b5f82b
From 7a99a04d7f121a547d9af82738cd64b2fa8b04ca Mon Sep 17 00:00:00 2001
5b5f82b
From: Seth Vidal <skvidal@fedoraproject.org>
5b5f82b
Date: Sat, 17 May 2008 07:43:42 -0400
5b5f82b
Subject: [PATCH] gotta check both, not either - otherwise filedeps don't work :(
5b5f82b
5b5f82b
---
5b5f82b
 yum/sqlitesack.py |    2 +-
5b5f82b
 1 files changed, 1 insertions(+), 1 deletions(-)
5b5f82b
5b5f82b
diff --git a/yum/sqlitesack.py b/yum/sqlitesack.py
5b5f82b
index c9fc26c..0b5d3e1 100644
5b5f82b
--- a/yum/sqlitesack.py
5b5f82b
+++ b/yum/sqlitesack.py
5b5f82b
@@ -766,7 +766,7 @@ class YumSqlitePackageSack(yumRepo.YumPackageSack):
5b5f82b
         # If it's not a provides or a filename, we are done
5b5f82b
         if prcotype != "provides":
5b5f82b
             return results
5b5f82b
-        if not glob or name[0] != '/':
5b5f82b
+        if not glob and name[0] != '/':
5b5f82b
             return results
5b5f82b
 
5b5f82b
         # If it is a filename, search the primary.xml file info
5b5f82b
-- 
5b5f82b
1.5.5.1
5b5f82b