Skip to content

Commit ddce99f

Browse files
Only check macos
1 parent a9aee2a commit ddce99f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

scripts/download_unpack_roms.sh

+1-4
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,8 @@ curl -o "$temp_file" "$file_url"
1818
# Compute the SHA256 checksum of the ROMs file and compare with the expected checksum
1919
if [[ "$(uname)" == "Darwin" ]]; then
2020
computed_checksum=$(shasum -a 256 "$temp_file" | awk '{ print $1 }')
21-
elif [[ "$(uname)" == "Linux" ]]; then
22-
computed_checksum=$(sha256sum "$temp_file" | awk '{ print $1 }')
2321
else
24-
echo "Unsupported OS $(uname). Exiting."
25-
exit 1
22+
computed_checksum=$(sha256sum "$temp_file" | awk '{ print $1 }')
2623
fi
2724

2825
if [ "$computed_checksum" == "$expected_checksum" ]; then

0 commit comments

Comments
 (0)