Fixed for package name

This commit is contained in:
Dimitris Zlatanidis 2023-04-08 20:40:33 +03:00
parent 32f3112d0d
commit 606031581e

View file

@ -151,7 +151,8 @@ class Packages(Configs):
""" Packages checksums. """
md5 = Md5sum(self.flags)
for package in self.binary_packages:
pkg_checksum: str = self.bin_repo_dict[package][10]
name: str = self.utils.split_binary_pkg(package[:-4])[0]
pkg_checksum: str = self.bin_repo_dict[name][10]
md5.check(self.tmp_slpkg, package, pkg_checksum)
def install_packages(self) -> None: