mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-26 19:58:50 +01:00
Updated for version
This commit is contained in:
parent
a48e35876c
commit
5b76f52ba9
1 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ class SearchPackage(Configs):
|
|||
if repo == '*':
|
||||
repository: str = f'{pr[1]}: '
|
||||
|
||||
print(f'{repository}{self.cyan}{pr[0]}{self.endc}-{self.yellow}{version}{self.endc}'
|
||||
print(f'{repository}{self.cyan}{pr[0]}{self.endc} {self.yellow}{version}{self.endc}'
|
||||
f'{self.green}{desc}{self.endc}')
|
||||
else:
|
||||
pkg_repo: list = BinQueries('', repo).all_package_names_by_repo()
|
||||
|
@ -66,7 +66,7 @@ class SearchPackage(Configs):
|
|||
desc: str = BinQueries(pr, repo).description()
|
||||
version: str = BinQueries(pr, repo).version()
|
||||
|
||||
print(f'{repository}{self.cyan}{pr}{self.endc}-{self.yellow}{version}{self.endc}'
|
||||
print(f'{repository}{self.cyan}{pr}{self.endc} {self.yellow}{version}{self.endc}'
|
||||
f'{self.green}{desc}{self.endc}')
|
||||
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue