mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-17 06:11:35 +01:00
Updated for binary
This commit is contained in:
parent
da7e36772b
commit
50f216a2f8
1 changed files with 6 additions and 4 deletions
|
@ -432,12 +432,14 @@ class Argparse(Configs):
|
|||
|
||||
else:
|
||||
if self.utils.is_option(self.flag_binaries, self.flags):
|
||||
for pkg in packages:
|
||||
pkg_repo = BinQueries(pkg, self.binary_repo).package_name_with_repo()
|
||||
pkg_repo: tuple = BinQueries('', self.binary_repo).package_name_with_repo()
|
||||
|
||||
for pkg in packages:
|
||||
for pr in pkg_repo:
|
||||
|
||||
if pkg in pr[0] or pkg == '*':
|
||||
repo_ver: str = BinQueries(pr[0], pr[1]).version()
|
||||
choices += [(pkg, repo_ver, False, f'Package: {pkg}-{repo_ver} > {pr[1]}')]
|
||||
choices += [(pr[0], repo_ver, False, f'Package: {pr[0]}-{repo_ver} > {pr[1]}')]
|
||||
|
||||
else:
|
||||
for pkg in packages:
|
||||
|
|
Loading…
Reference in a new issue