From 2cb350436a5131b3c836b54f595ddf33c3a660c9 Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Sun, 19 Nov 2023 16:17:35 +0100 Subject: [PATCH] auto-update.py: Added aarch64 check for pwngrid/bettercap Signed-off-by: Jeroen Oudshoorn --- pwnagotchi/plugins/default/auto-update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnagotchi/plugins/default/auto-update.py b/pwnagotchi/plugins/default/auto-update.py index fc6194e4..b94558a1 100644 --- a/pwnagotchi/plugins/default/auto-update.py +++ b/pwnagotchi/plugins/default/auto-update.py @@ -130,6 +130,7 @@ def install(display, update): logging.info("[update] stopping %s ..." % update['service']) os.system("service %s stop" % update['service']) os.system("mv %s %s" % (source_path, dest_path)) + os.system("chmod +x %s/*" % dest_path) logging.info("[update] restarting %s ..." % update['service']) os.system("service %s start" % update['service']) else: @@ -205,7 +206,6 @@ class AutoUpdate(plugins.Plugin): logging.warning( "update for %s available (local version is '%s'): %s" % ( repo, info['current'], info['url'])) - logging.info("[update] turned off wifi recon ...") info['service'] = svc_name to_install.append(info)