mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-06 08:46:21 +01:00
Added repo version
This commit is contained in:
parent
2e3f4c54d0
commit
8e65e88602
1 changed files with 3 additions and 2 deletions
|
@ -50,8 +50,9 @@ class Upgrade:
|
||||||
|
|
||||||
for package in packages:
|
for package in packages:
|
||||||
pkg = self.utils.is_installed(package)
|
pkg = self.utils.is_installed(package)
|
||||||
version = self.utils.split_installed_pkg(pkg)[1]
|
inst_ver = self.utils.split_installed_pkg(pkg)[1]
|
||||||
choices += [(package, version, False)]
|
repo_ver = SBoQueries(package).version()
|
||||||
|
choices += [(package, f'{inst_ver} -> {repo_ver}', False)]
|
||||||
|
|
||||||
code, tags = self.d.checklist(f'There are {len(choices)} packages for upgrade:',
|
code, tags = self.d.checklist(f'There are {len(choices)} packages for upgrade:',
|
||||||
title='Choose packages you want to upgrade',
|
title='Choose packages you want to upgrade',
|
||||||
|
|
Loading…
Add table
Reference in a new issue