mirror of
https://github.com/ScoopInstaller/Scoop.git
synced 2026-10-05 19:42:25 +00:00
Show warning about SourceForge.net hash validation fails
This commit is contained in:
1 parent
88a9a90f37
commit
8504338bc5
1 file changed
+3
@@ -320,6 +320,9 @@ function dl_urls($app, $version, $manifest, $bucket, $architecture, $dir, $use_c
|
||||
# rm cached file
|
||||
Remove-Item -force $cached
|
||||
}
|
||||
if($url.Contains('sourceforge.net')) {
|
||||
Write-Host -f yellow 'SourceForge.net is known for causing hash validation fails. Please try again before opening a ticket.'
|
||||
}
|
||||
abort $(new_issue_msg $app $bucket "hash check failed")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user