Skip to content

Commit 0bc13a2

Browse files
committed
python: if installer is used, do not use the already existing template folder
Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
1 parent f221709 commit 0bc13a2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

BuildAutomation/BuildCloudbaseInitSetup.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ try
7979
$python_template_dir = join-path $cloudbaseInitInstallerDir "Python$($pythonversion.replace('.', ''))_${platform}_Template"
8080

8181
if ($PythonMsiChecksum) {
82+
Remove-Item -Recurse -Force $python_template_dir -ErrorAction SilentlyContinue
8283
DownloadInstall-PythonMsi $platform $python_template_dir $pythonversion $PythonMsiChecksum
8384
}
8485

0 commit comments

Comments
 (0)