diff options
| author | Oskari Timperi <oskari.timperi@iki.fi> | 2019-06-19 21:28:19 +0300 |
|---|---|---|
| committer | Oskari Timperi <oskari.timperi@iki.fi> | 2019-06-19 21:28:19 +0300 |
| commit | e65133cd66c457d23297241c1cb9be8e988aa5fb (patch) | |
| tree | 5b9e856b3279f82baabdaae0248236e0878605a8 | |
| parent | 231449fb8e792db51dcb17f7b09d2a0b00f2cb0f (diff) | |
| download | portablepython-e65133cd66c457d23297241c1cb9be8e988aa5fb.tar.gz portablepython-e65133cd66c457d23297241c1cb9be8e988aa5fb.zip | |
Remove __pycache__ directories
| -rw-r--r-- | download.ps1 | 3 |
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 |
