diff -r 1b63ffeca110 -r ea3320d5e8e9 scripts/install-debugclients.py --- a/scripts/install-debugclients.py Mon Dec 11 15:11:32 2023 +0100 +++ b/scripts/install-debugclients.py Tue Dec 12 09:35:39 2023 +0100 @@ -148,7 +148,7 @@ # Cleanup the install directories dirname = os.path.join(pyModDir, installPackage) if os.path.exists(dirname): - shutil.rmtree(dirname, True) + shutil.rmtree(dirname, ignore_errors=True) except OSError as msg: sys.stderr.write("Error: {0}\nTry install with admin rights.\n".format(msg)) exit(7) @@ -450,7 +450,7 @@ if doCleanup: print("Cleaning up old installation ...", end="", flush=True) if distDir: - shutil.rmtree(distDir, True) + shutil.rmtree(distDir, ignore_errors=True) else: cleanUp() print(" Done")