From f0d01bea95176b32a742f0d118b74e629e328f55 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Wed, 15 Jan 2020 00:30:44 +0100 Subject: [PATCH] Fixed build pkg-ver reference Signed-off-by: Dimitris Zlatanidis --- slpkg/binary/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slpkg/binary/install.py b/slpkg/binary/install.py index 5576b649..eac5d011 100644 --- a/slpkg/binary/install.py +++ b/slpkg/binary/install.py @@ -220,7 +220,7 @@ class BinaryInstall: installs, upgraded = [], [] for inst in (self.dep_install + self.install): package = (self.tmp_path + inst).split() - pkg_ver = f"{inst[0]}-{inst[1]}" + pkg_ver = f"{split_package(inst)[0]}-{split_package(inst)[1]}" self.checksums(inst) if GetFromInstalled(split_package(inst)[0]).name(): print(f"[ {self.yellow}upgrading{self.endc} ] --> {inst}")