projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bugfix(Windows): make sure ~/Downloads exists
[webi-installers/.git]
/
serviceman
/
install.ps1
diff --git
a/serviceman/install.ps1
b/serviceman/install.ps1
index 8efa0abeaff03bcfc10d48abd1f8623f41b80fc7..599b615f2c6b6a74956bba30afb5f2398b174ba6 100644
(file)
--- a/
serviceman/install.ps1
+++ b/
serviceman/install.ps1
@@
-15,6
+15,7
@@
$pkg_src_bin = "$Env:USERPROFILE\.local\opt\serviceman-v$Env:WEBI_VERSION\bin"
$pkg_src_dir = "$Env:USERPROFILE\.local\opt\serviceman-v$Env:WEBI_VERSION"
$pkg_src = "$pkg_src_cmd"
$pkg_src_dir = "$Env:USERPROFILE\.local\opt\serviceman-v$Env:WEBI_VERSION"
$pkg_src = "$pkg_src_cmd"
+New-Item "$Env:USERPROFILE\Downloads" -ItemType Directory -Force | out-null
$pkg_download = "$Env:USERPROFILE\Downloads\$Env:WEBI_PKG_FILE"
# Fetch archive
$pkg_download = "$Env:USERPROFILE\Downloads\$Env:WEBI_PKG_FILE"
# Fetch archive