forked from chocolatey/choco
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(chocolateyGH-253) Fix Zip ChecksumType is ignored
Due to defaulting `$url64bit` to `$url`, `$checksumType` was converting to the 64 bit checksumtype, even if it was empty. Which causes checksumtype to default to md5, no matter what the checksumtype passed in is. Move the checksumType setting for x64 into the check if the urls for 32 bit and 64 bit are different. Additionally, ensure that the checksumtype64 is not empty.
- Loading branch information
1 parent
02ae5c2
commit 8a8bd49
Showing
2 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters