diff --git a/scripts/download_unpack_roms.sh b/scripts/download_unpack_roms.sh index a0a1fead..fd4e0099 100755 --- a/scripts/download_unpack_roms.sh +++ b/scripts/download_unpack_roms.sh @@ -18,11 +18,8 @@ curl -o "$temp_file" "$file_url" # Compute the SHA256 checksum of the ROMs file and compare with the expected checksum if [[ "$(uname)" == "Darwin" ]]; then computed_checksum=$(shasum -a 256 "$temp_file" | awk '{ print $1 }') -elif [[ "$(uname)" == "Linux" ]]; then - computed_checksum=$(sha256sum "$temp_file" | awk '{ print $1 }') else - echo "Unsupported OS $(uname). Exiting." - exit 1 + computed_checksum=$(sha256sum "$temp_file" | awk '{ print $1 }') fi if [ "$computed_checksum" == "$expected_checksum" ]; then