diff --git a/pwnagotchi/plugins/default/auto-update.py b/pwnagotchi/plugins/default/auto-update.py index 91ed99e0..de257e71 100644 --- a/pwnagotchi/plugins/default/auto-update.py +++ b/pwnagotchi/plugins/default/auto-update.py @@ -112,12 +112,12 @@ def install(display, update): path = make_path_for(name) - source_path = os.path.join(path, name) - #if not verify(name, path, source_path, display, update): - #return False - download_and_unzip(name, path, display, update) + source_path = os.path.join(path, name) + if not verify(name, path, source_path, display, update): + return False + logging.info("[update] installing %s ..." % name) display.update(force=True, new_data={'status': 'Installing %s %s ...' % (name, update['available'])})