mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-28 09:58:21 +01:00
Fixed for find installed
This commit is contained in:
parent
201e0b92fd
commit
dd819af5aa
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ class FindInstalled(Configs):
|
|||
self.endc: str = self.color['endc']
|
||||
self.grey: str = self.color['grey']
|
||||
|
||||
self.installed: list = self.utils.installed_packages
|
||||
self.installed: dict = self.utils.installed_packages
|
||||
|
||||
def find(self, packages: list) -> None:
|
||||
""" Find the packages. """
|
||||
|
@ -31,7 +31,7 @@ class FindInstalled(Configs):
|
|||
f'that contains \'{", ".join([p for p in packages])}\' files:\n')
|
||||
|
||||
for pkg in packages:
|
||||
for package in self.installed:
|
||||
for package in self.installed.values():
|
||||
if pkg in package or pkg == '*':
|
||||
matching.append(package)
|
||||
|
||||
|
|
Loading…
Reference in a new issue