misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
4018071bba
commit
6d5054387b
@ -85,7 +85,7 @@ def install(display, update):
|
|||||||
os.system('unzip "%s" -d "%s"' % (target_path, path))
|
os.system('unzip "%s" -d "%s"' % (target_path, path))
|
||||||
|
|
||||||
source_path = os.path.join(path, name)
|
source_path = os.path.join(path, name)
|
||||||
checksums = glob.glob("%s/*.sha256")
|
checksums = glob.glob("%s/*.sha256" % path)
|
||||||
if len(checksums) == 0:
|
if len(checksums) == 0:
|
||||||
if update['native']:
|
if update['native']:
|
||||||
logging.warning("native update without SHA256 checksum file")
|
logging.warning("native update without SHA256 checksum file")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user