This commit is contained in:
Colin 2024-07-28 09:23:51 -04:00
parent 1aeca4a4d4
commit 883b3e05a5
2 changed files with 4 additions and 3 deletions

View File

@ -16,10 +16,11 @@ calculate_hashes() {
fi
# Determine the hash command to use
local hash_cmd=""
if command -v sha256sum >/dev/null 2>&1; then
local hash_cmd="sha256sum"
hash_cmd="sha256sum"
elif command -v shasum >/dev/null 2>&1; then
local hash_cmd="shasum -a 256"
hash_cmd="shasum -a 256"
else
echo "Neither sha256sum nor shasum is available."
return 1

View File

@ -1 +1 @@
ca21d5215aa1bd7b1903ca14c2b453e63354ca65262fffd172f1b55a7e3386c6
fd1a5bfda4d5ae146bfd6310bacccdd4b189c7649b0fa1da8df0723623741e05