fixup!
This commit is contained in:
parent
1aeca4a4d4
commit
883b3e05a5
|
@ -16,10 +16,11 @@ calculate_hashes() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Determine the hash command to use
|
# Determine the hash command to use
|
||||||
|
local hash_cmd=""
|
||||||
if command -v sha256sum >/dev/null 2>&1; then
|
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
|
elif command -v shasum >/dev/null 2>&1; then
|
||||||
local hash_cmd="shasum -a 256"
|
hash_cmd="shasum -a 256"
|
||||||
else
|
else
|
||||||
echo "Neither sha256sum nor shasum is available."
|
echo "Neither sha256sum nor shasum is available."
|
||||||
return 1
|
return 1
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
ca21d5215aa1bd7b1903ca14c2b453e63354ca65262fffd172f1b55a7e3386c6
|
fd1a5bfda4d5ae146bfd6310bacccdd4b189c7649b0fa1da8df0723623741e05
|
||||||
|
|
Loading…
Reference in New Issue