Commit b8f2014a authored by Stefan Scherer's avatar Stefan Scherer
Browse files

Do not change directory

parent 2c6b97fd
cd $env:TEMP
$ProgressPreference = 'SilentlyContinue'
if (Test-Path {
rm -force
if (Test-Path $env:TEMP\ {
rm -force $env:TEMP\
if (Test-Path packer) {
rm -recurse -force packer
if (Test-Path $env:TEMP\packer) {
rm -recurse -force $env:TEMP\packer
wget -outfile -uri -UseBasicParsing
copy packer\packer.exe $env:ChocolateyInstall\bin\packer.exe
rm -force
wget -outfile $env:TEMP\ -uri -UseBasicParsing
Expand-Archive $env:TEMP\ -DestinationPath $env:TEMP
copy $env:TEMP\packer\packer.exe $env:ChocolateyInstall\bin\packer.exe
rm -force $env:TEMP\
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment