Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-08-31 15:52:50 +02:00
parent 160cc93dbc
commit b98988c345
10 changed files with 9 additions and 673 deletions

View File

@ -47,7 +47,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)