We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9aee2a commit ddce99fCopy full SHA for ddce99f
scripts/download_unpack_roms.sh
@@ -18,11 +18,8 @@ curl -o "$temp_file" "$file_url"
18
# Compute the SHA256 checksum of the ROMs file and compare with the expected checksum
19
if [[ "$(uname)" == "Darwin" ]]; then
20
computed_checksum=$(shasum -a 256 "$temp_file" | awk '{ print $1 }')
21
-elif [[ "$(uname)" == "Linux" ]]; then
22
- computed_checksum=$(sha256sum "$temp_file" | awk '{ print $1 }')
23
else
24
- echo "Unsupported OS $(uname). Exiting."
25
- exit 1
+ computed_checksum=$(sha256sum "$temp_file" | awk '{ print $1 }')
26
fi
27
28
if [ "$computed_checksum" == "$expected_checksum" ]; then
0 commit comments