From 2a02e51ea2e809d794251f92296fc1f8bc289798 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Mon, 27 Mar 2023 23:59:25 +0300 Subject: [PATCH] Fixed for dialog choose --- slpkg/main.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/slpkg/main.py b/slpkg/main.py index 83b956db..69248c5a 100644 --- a/slpkg/main.py +++ b/slpkg/main.py @@ -439,7 +439,11 @@ class Argparse(Configs): if pkg in pr[0] or pkg == '*': repo_ver: str = BinQueries(pr[0], pr[1]).version() - choices += [(pr[0], repo_ver, False, f'Package: {pr[0]}-{repo_ver}')] + + if self.binary_repo == '*': + repo_ver: str = '' + + choices += [(pr[0], repo_ver, False, f'Package: {pr[0]}-{repo_ver} > {pr[1]}')] else: for pkg in packages: