#!/bin/bash
set -eu

echo "Verifying MD5 checksums"
md5sum -c md5_checksums.txt
if ! [ $? -eq 0 ] ; then
    echo "MD5 checksums not correct"
else
    echo "MD5 checksums correct"
fi

echo "Verifying SHA3 checksums"
sha3sum -c sha3_checksums.txt
if ! [ $? -eq 0 ] ; then
    echo "SHA3 checksums not correct"
else
    echo "SHA3 checksums correct"
fi
