Skip to content

Commit

Permalink
Merge pull request #254 from arizvisa/GH-253
Browse files Browse the repository at this point in the history
Updated the sourceforge.net URL used to download ultradefrag so that it redirects to the correct place with all of the available fallback downloaders.
  • Loading branch information
arizvisa authored Jul 18, 2020
2 parents 13a94cc + 00721cf commit 68b0879
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion floppy/_download.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
4 changes: 2 additions & 2 deletions script/ultradefrag.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 68b0879

Please sign in to comment.