summaryrefslogtreecommitdiffstats
path: root/GUI/package.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'GUI/package.ps1')
-rw-r--r--GUI/package.ps18
1 files changed, 7 insertions, 1 deletions
diff --git a/GUI/package.ps1 b/GUI/package.ps1
index e21d109..7bf032b 100644
--- a/GUI/package.ps1
+++ b/GUI/package.ps1
@@ -18,7 +18,9 @@ if (Test-Path $install_dir) {
$py_dir = "Python"
-rm -Recurse $py_dir
+if (Test-Path $py_dir) {
+ rm -Recurse $py_dir
+}
if (-Not (Test-Path $py_dir)) {
echo "Fetching python"
@@ -39,6 +41,10 @@ if (-Not (Test-Path $py_dir)) {
$pip_path = "$py_dir/get-pip.py"
+if (Test-Path $pip_path) {
+ rm -Force $pip_path
+}
+
if (-Not (Test-Path $pip_path)) {
echo "Fetching pip"