From 60369415f0b5ded741447719ea5ffc899c1eb1b6 Mon Sep 17 00:00:00 2001 From: Ali Rizvi-Santiago Date: Thu, 16 Jul 2020 01:33:09 -0500 Subject: [PATCH 1/2] Updated floppy/_download.cmd to use an empty user-agent string for the default options to curl. --- floppy/_download.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/floppy/_download.cmd b/floppy/_download.cmd index 230bd846..80dfdb7d 100644 --- a/floppy/_download.cmd +++ b/floppy/_download.cmd @@ -146,7 +146,7 @@ REM Every other method so far has failed entirely, so at this point there's REM nothing left to try but curl.exe which came for free with the build. We REM first need to locate it and make sure that it actually works. :check_curl -if not defined CURL_OPTS ( set "CURL_OPTS=-L" ) else if defined CURL_OPTS ( set "CURL_OPTS=%CURL_OPTS% -L" ) +if not defined CURL_OPTS ( set "CURL_OPTS=-A '' -L" ) else if defined CURL_OPTS ( set "CURL_OPTS=%CURL_OPTS% -A '' -L" ) if defined PACKER_DEBUG if not "%PACKER_DEBUG%" == "0" set "CURL_OPTS=%CURL_OPTS% --verbose" set curl= From 00721cf1e7fd4be3d258df345931a8a610c0c270 Mon Sep 17 00:00:00 2001 From: Ali Rizvi-Santiago Date: Thu, 16 Jul 2020 01:39:11 -0500 Subject: [PATCH 2/2] Updated the sourceforge.net download urls for ultradefrag to use the complete path for version 7.0.2. --- script/ultradefrag.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/ultradefrag.bat b/script/ultradefrag.bat index 24fb0697..f75cde8b 100644 --- a/script/ultradefrag.bat +++ b/script/ultradefrag.bat @@ -14,8 +14,8 @@ if not defined PACKER_SEARCH_PATHS set PACKER_SEARCH_PATHS="%USERPROFILE%" a: b: if not defined SEVENZIP_32_URL set SEVENZIP_32_URL=http://7-zip.org/a/7z1604.msi if not defined SEVENZIP_64_URL set SEVENZIP_64_URL=http://www.7-zip.org/a/7z1604-x64.msi -if not defined ULTRADEFRAG_32_URL set ULTRADEFRAG_32_URL=http://downloads.sourceforge.net/ultradefrag/ultradefrag-portable-7.0.2.bin.i386.zip -if not defined ULTRADEFRAG_64_URL set ULTRADEFRAG_64_URL=http://downloads.sourceforge.net/ultradefrag/ultradefrag-portable-7.0.2.bin.amd64.zip +if not defined ULTRADEFRAG_32_URL set ULTRADEFRAG_32_URL=http://downloads.sourceforge.net/project/ultradefrag/stable-release/7.0.2/ultradefrag-portable-7.0.2.bin.i386.zip +if not defined ULTRADEFRAG_64_URL set ULTRADEFRAG_64_URL=http://downloads.sourceforge.net/project/ultradefrag/stable-release/7.0.2/ultradefrag-portable-7.0.2.bin.amd64.zip goto :main