Added some information

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2022-10-28 08:42:51 +03:00
parent 53fd7bf9c1
commit 75cca386b7
2 changed files with 7 additions and 0 deletions

View file

@ -15,6 +15,10 @@ class FindInstalled:
def find(self, packages: list):
matching = []
print(f'The list below shows the packages '
f'that contains \'{", ".join([p for p in packages])}\' files:\n')
for pkg in packages:
for package in os.listdir(self.log_packages):
if pkg in package and self.sbo_repo_tag in package:

View file

@ -19,6 +19,9 @@ class SearchPackage:
names = SBoQueries('').names()
print(f'The list below shows the packages '
f'that contains \'{", ".join([p for p in packages])}\' files:\n')
for name in names:
for package in packages:
if package in name: