Skip to content

Commit d36c4f7

Browse files
authored
Fix openssl check
1 parent e8d5315 commit d36c4f7

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

build_miniforge_osx.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,14 @@ miniforge_arch="$(uname -m)"
1010
miniforge_version="4.10.3-10"
1111
condapkg="https://github.com/conda-forge/miniforge/releases/download/${miniforge_version}/Mambaforge-${miniforge_version}-MacOSX-${miniforge_arch}.sh"
1212
if [ "$(uname -m)" = "x86_64" ]; then
13-
# hmaarrfk: 2021/12/01 Not too sure how to check sha256sums on OSX
14-
# shellcheck disable=SC2034
1513
conda_chksum="7c44259a0982cd3ef212649678af5f0dd4e0bb7306e8fffc93601dd1d739ec0b"
1614
elif [ "$(uname -m)" = "arm64" ]; then
17-
# hmaarrfk: 2021/12/01 Not too sure how to check sha256sums on OSX
18-
# shellcheck disable=SC2034
1915
conda_chksum="72bc86612ab9435915b616c2edb076737cbabe2c33fd684d58c2f9ae72e1957c"
2016
else
2117
exit 1
2218
fi
2319
curl -s -L "$condapkg" > miniconda.sh
24-
# hmaarrfk: 2021/12/01 Not too sure how to check sha256sums on OSX
25-
# sha256sum miniconda.sh | grep $conda_chksum
20+
openssl sha256 miniconda.sh | grep $conda_chksum
2621

2722
bash miniconda.sh -b -p ~/conda
2823

0 commit comments

Comments
 (0)