Merge remote-tracking branch 'origin/pwnagotchi-torch' into pwnagotchi-torch

This commit is contained in:
Jeroen Oudshoorn
2023-09-01 00:43:14 +02:00
11 changed files with 23 additions and 681 deletions

View File

@ -46,7 +46,7 @@ def check(version, repo, native=True):
def make_path_for(name):
path = os.path.join("/tmp/updates/", name)
path = os.path.join("/usr/local/src/", name)
if os.path.exists(path):
logging.debug("[update] deleting %s" % path)
shutil.rmtree(path, ignore_errors=True, onerror=None)