mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 02:47:56 +01:00
Co-authored-by: codacy-production[bot] <61871480+codacy-production[bot]@users.noreply.github.com>
14 lines
No EOL
303 B
Bash
14 lines
No EOL
303 B
Bash
#!/bin/bash
|
|
|
|
#set -ex
|
|
|
|
checkisomd5 "../../${ISO_NAME}"
|
|
if [[ $? != 0 ]]
|
|
then
|
|
echo "Found:"
|
|
checkisomd5 --md5sumonly "../../${ISO_NAME}"
|
|
echo "Expected:"
|
|
implantisomd5 --force "../../${ISO_NAME}"
|
|
fi
|
|
|
|
cd "$(dirname "../../${ISO_NAME}")" && sha256sum -c "$(basename "${ISO_NAME}")-CHECKSUM" |