diff --git a/pwnagotchi/plugins/default/auto-update.py b/pwnagotchi/plugins/default/auto-update.py index 5168729e..a890ea47 100644 --- a/pwnagotchi/plugins/default/auto-update.py +++ b/pwnagotchi/plugins/default/auto-update.py @@ -58,7 +58,7 @@ def check(version, repo, native=True): def make_path_for(name): - path = os.path.join("/home/pi/", name) + path = os.path.join("/opt/", name) if os.path.exists(path): logging.debug("[update] deleting %s" % path) shutil.rmtree(path, ignore_errors=True, onerror=None)