mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-29 10:26:12 +01:00
fix return md5
This commit is contained in:
parent
05199e9505
commit
46ec3e8300
1 changed files with 1 additions and 1 deletions
|
@ -44,6 +44,6 @@ def pkg_checksum(binary, repo):
|
|||
CHECKSUMS_md5 = f.read()
|
||||
f.close()
|
||||
for line in CHECKSUMS_md5.splitlines():
|
||||
if line.endswith(binary):
|
||||
if line.split('/')[-1] == binary:
|
||||
md5 = line.split()[0]
|
||||
return md5
|
||||
|
|
Loading…
Reference in a new issue