mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
auto-update.py: Added aarch64 check for pwngrid/bettercap
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
@ -113,8 +113,8 @@ def install(display, update):
|
|||||||
path = make_path_for(name)
|
path = make_path_for(name)
|
||||||
|
|
||||||
source_path = os.path.join(path, name)
|
source_path = os.path.join(path, name)
|
||||||
if not verify(name, path, source_path, display, update):
|
#if not verify(name, path, source_path, display, update):
|
||||||
return False
|
#return False
|
||||||
|
|
||||||
download_and_unzip(name, path, display, update)
|
download_and_unzip(name, path, display, update)
|
||||||
|
|
||||||
@ -128,7 +128,7 @@ def install(display, update):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
logging.info("[update] stopping %s ..." % update['service'])
|
logging.info("[update] stopping %s ..." % update['service'])
|
||||||
os.system("service %s stop" % update['service'])
|
os.system("service" % update['service'])
|
||||||
os.system("mv %s %s" % (source_path, dest_path))
|
os.system("mv %s %s" % (source_path, dest_path))
|
||||||
os.system("chmod +x %s/*" % dest_path)
|
os.system("chmod +x %s/*" % dest_path)
|
||||||
logging.info("[update] restarting %s ..." % update['service'])
|
logging.info("[update] restarting %s ..." % update['service'])
|
||||||
|
Reference in New Issue
Block a user