diff --git a/kubectx/install.ps1 b/kubectx/install.ps1 index d48ce76..e8d22a8 100644 --- a/kubectx/install.ps1 +++ b/kubectx/install.ps1 @@ -23,7 +23,7 @@ IF (!(Test-Path -Path "$Env:USERPROFILE\Downloads\webi\$Env:WEBI_PKG_FILE")) { # TODO: arch detection echo "Downloading kubectx from $Env:WEBI_PKG_URL to $pkg_download" - & curl.exe -A -L "$Env:WEBI_UA" -fsSL "$Env:WEBI_PKG_URL" -o "$pkg_download.part" + & curl.exe -A "$Env:WEBI_UA" -fsSL "$Env:WEBI_PKG_URL" -o "$pkg_download.part" & move "$pkg_download.part" "$pkg_download" } diff --git a/kubens/install.ps1 b/kubens/install.ps1 index 94beed4..6e29098 100644 --- a/kubens/install.ps1 +++ b/kubens/install.ps1 @@ -23,7 +23,7 @@ IF (!(Test-Path -Path "$Env:USERPROFILE\Downloads\webi\$Env:WEBI_PKG_FILE")) { # TODO: arch detection echo "Downloading kubens from $Env:WEBI_PKG_URL to $pkg_download" - & curl.exe -A -L "$Env:WEBI_UA" -fsSL "$Env:WEBI_PKG_URL" -o "$pkg_download.part" + & curl.exe -A "$Env:WEBI_UA" -fsSL "$Env:WEBI_PKG_URL" -o "$pkg_download.part" & move "$pkg_download.part" "$pkg_download" }