mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-17 07:48:18 +01:00
Added some information
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
53fd7bf9c1
commit
75cca386b7
2 changed files with 7 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue