From deaa0c3d57a904d023a6fc5487d1bba8187366f7 Mon Sep 17 00:00:00 2001 From: zengliwen Date: Fri, 24 Jan 2025 14:05:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Drequreis=E3=80=81provides?= =?UTF-8?q?=E6=9F=A5=E6=89=BE=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oecp/main/mapping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oecp/main/mapping.py b/oecp/main/mapping.py index 8401564..048a46e 100644 --- a/oecp/main/mapping.py +++ b/oecp/main/mapping.py @@ -222,7 +222,7 @@ class SQLiteMapping(RepositoryPackageMapping): if not result and name.startswith('/'): cursor.execute(f"select pkgKey from files where name='{name}'") result = cursor.fetchall() - if len(result) == 1: + if len(result) == 1 and not symbol: cursor.execute(f"select location_href from packages where pkgKey={result[0][0]}") rpm_result = cursor.fetchall() rpm_name = rpm_result[0][0].split('/')[-1] -- Gitee