mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +01:00
Updated for repo version
This commit is contained in:
parent
daea0afbd5
commit
fe057bb7e3
1 changed files with 3 additions and 4 deletions
|
@ -472,16 +472,15 @@ class Argparse(Configs):
|
|||
else:
|
||||
for pkg in packages:
|
||||
for package in repo_packages:
|
||||
|
||||
if pkg in package or pkg == '*':
|
||||
if self.utils.is_option(self.flag_binaries, self.flags):
|
||||
try:
|
||||
repo_ver: str = self.data[pkg][0]
|
||||
except KeyError:
|
||||
repo_ver: str = ''
|
||||
repo_ver: str = self.data[package][0]
|
||||
repo: str = self.binary_repo
|
||||
else:
|
||||
repo_ver: str = self.data[package][2]
|
||||
repo: str = self.repos.sbo_enabled_repo_name
|
||||
|
||||
choices += [(package, repo_ver, False, f'Package: {package}-{repo_ver} '
|
||||
f'> {repo}')]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue