From 5fd2dad816c54cfa44b7bb4cbc831b047ad982ad Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Thu, 30 Mar 2023 22:48:46 +0300 Subject: [PATCH] Fixed pkg pattern search --- slpkg/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slpkg/search.py b/slpkg/search.py index 48958701..6629c468 100644 --- a/slpkg/search.py +++ b/slpkg/search.py @@ -60,7 +60,7 @@ class SearchPackage(Configs): for pkg in packages: for pr in pkg_repo: - if pkg in pr: + if pkg in pr or pkg == '*': matching += 1 desc: str = BinQueries(pr, repo).description()