Skip to content

Commit

Permalink
install: fix fosshub downloads with aria2c
Browse files Browse the repository at this point in the history
  • Loading branch information
r15ch13 committed Sep 23, 2018
1 parent 6859bdc commit 803525a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ function dl_with_cache_aria2($app, $version, $manifest, $architecture, $dir, $co
if(!(test-path $data.$url.source)) {
$has_downloads = $true
# create aria2 input file content
$urlstxt_content += "$url`n"
$urlstxt_content += "$(handle_special_urls $url)`n"
if(!$url.Contains('sourceforge.net')) {
$urlstxt_content += " referer=$(strip_filename $url)`n"
}
Expand Down

0 comments on commit 803525a

Please sign in to comment.