From b9ebc757af6ea764735d24d9f7cf1857144124de Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Thu, 12 Feb 2015 08:32:37 +0200 Subject: [PATCH] fix checksums --- slpkg/slpkg_update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slpkg/slpkg_update.py b/slpkg/slpkg_update.py index b6b18973..52ac2f51 100644 --- a/slpkg/slpkg_update.py +++ b/slpkg/slpkg_update.py @@ -76,8 +76,8 @@ def it_self_update(): tar.close() file_name = '{0}-{1}'.format(_m.__all__, __new_version__) os.chdir(file_name) - check_md5(pkg_checksum(slpkg_tar_file[1:], "slpkg"), - _m.build_path + slpkg_tar_file) + check_md5(pkg_checksum(_m.__all__ + "-" + slpkg_tar_file[1:], + _m.__all__), _m.build_path + slpkg_tar_file) subprocess.call('chmod +x {0}'.format('install.sh'), shell=True) subprocess.call('sh install.sh', shell=True) else: