Fixed build pkg-ver reference

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2020-01-15 00:30:44 +01:00
parent 8cb73f329a
commit f0d01bea95

View file

@ -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}")