Update build

Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
This commit is contained in:
jayofelony
2024-11-22 11:40:58 +01:00
parent e9b4667ffc
commit 4fb7752493
3 changed files with 9 additions and 7 deletions

View File

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