projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bugfix(_example): vars should be quoted (and disable unexported vars warning)
[webi-installers/.git]
/
rclone
/
install.ps1
diff --git
a/rclone/install.ps1
b/rclone/install.ps1
index 741dca7bcf2c8b08053f2269b9a0cb20738d6826..ce9b08a78fb0223d25ead808df735f44dece6b7a 100644
(file)
--- a/
rclone/install.ps1
+++ b/
rclone/install.ps1
@@
-15,10
+15,11
@@
$pkg_src_bin = "$Env:USERPROFILE\.local\opt\rclone-v$Env:WEBI_VERSION\bin"
$pkg_src_dir = "$Env:USERPROFILE\.local\opt\rclone-v$Env:WEBI_VERSION"
$pkg_src = "$pkg_src_cmd"
$pkg_src_dir = "$Env:USERPROFILE\.local\opt\rclone-v$Env:WEBI_VERSION"
$pkg_src = "$pkg_src_cmd"
-$pkg_download = "$Env:USERPROFILE\Downloads\$Env:WEBI_PKG_FILE"
+New-Item "$Env:USERPROFILE\Downloads\webi" -ItemType Directory -Force | out-null
+$pkg_download = "$Env:USERPROFILE\Downloads\webi\$Env:WEBI_PKG_FILE"
# Fetch archive
# Fetch archive
-IF (!(Test-Path -Path "$Env:USERPROFILE\Downloads\$Env:WEBI_PKG_FILE"))
+IF (!(Test-Path -Path "$Env:USERPROFILE\Downloads\
webi\
$Env:WEBI_PKG_FILE"))
{
# TODO: arch detection
echo "Downloading rclone from $Env:WEBI_PKG_URL to $pkg_download"
{
# TODO: arch detection
echo "Downloading rclone from $Env:WEBI_PKG_URL to $pkg_download"