aboutsummaryrefslogtreecommitdiff
path: root/download.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'download.ps1')
-rw-r--r--download.ps13
1 files changed, 3 insertions, 0 deletions
diff --git a/download.ps1 b/download.ps1
index fd4a6c1..ed23363 100644
--- a/download.ps1
+++ b/download.ps1
@@ -21,3 +21,6 @@ $client.DownloadFile($url, $target)
((Get-Content -path unattend.xml.in -raw) -replace 'TARGET_DIR',$targetdir) | Set-Content -path unattend.xml
Start-Process -FilePath "$target" -ArgumentList "/quiet","/log","$logfile" -Wait
+
+# Remove all __pycache__ directories
+Get-ChildItem -Include __pycache__ -Recurse -Force | Remove-Item -Force -Recurse