Skip to content

Commit 7160f29

Browse files
committed
Validate & checksum downloaded artifacts
1 parent 3188b66 commit 7160f29

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/main/bash/sdkman-install.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,6 @@ function __sdkman_validate() {
174174
local -r archive_type=$(sed -n 's/^X-Sdkman-ArchiveType:\(.*\)$/\1/p' ${headers_file} | tr -cd '[:alnum:]')
175175
local is_ok
176176

177-
echo "archive_type: ${archive_type}"
178-
echo "archive: ${archive}"
179-
180177
if [[ "${archive_type}" == 'zip' ]]; then
181178
is_ok=$(unzip -t "$archive" | grep 'No errors detected in compressed data')
182179
elif [[ "${archive_type}" == 'tar' ]]; then

0 commit comments

Comments
 (0)