Changes shasums

Steven 2021-03-05 20:02:59 +01:00
parent 32d272ed09
commit acd9e759c7
5 changed files with 6 additions and 6 deletions

View File

@ -397,7 +397,7 @@ checkInstaller () {
# Workaround: shasum is not available on RHEL, only checking sha512
if [[ "${FLAVOUR}" == "rhel" ]] || [[ "${FLAVOUR}" == "centos" ]]; then
INSTsum=$(sha512sum ${0} | cut -f1 -d\ )
/usr/bin/wget --no-cache -q -O /tmp/INSTALL.sh.sha512 https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh.sha512
/usr/bin/wget --no-cache -q -O /tmp/INSTALL.sh.sha512 https://raw.githubusercontent.com/stevengoossensB/misp-docker/master/web/INSTALL_NODB.sh.sha512
chsum=$(cat /tmp/INSTALL.sh.sha512)
if [[ "${chsum}" == "${INSTsum}" ]]; then
echo "SHA512 matches"
@ -414,7 +414,7 @@ checkInstaller () {
# SHAsums to be computed, not the -- notatiation is for ease of use with rhash
SHA_SUMS="--sha1 --sha256 --sha384 --sha512"
for sum in $(echo ${SHA_SUMS} |sed 's/--sha//g'); do
/usr/bin/wget --no-cache -q -O /tmp/INSTALL.sh.sha${sum} https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh.sha${sum}
/usr/bin/wget --no-cache -q -O /tmp/INSTALL.sh.sha${sum} https://raw.githubusercontent.com/stevengoossensB/misp-docker/master/web/INSTALL_NODB.sh.sha${sum}
INSTsum=$(shasum -a ${sum} ${0} | cut -f1 -d\ )
chsum=$(cat /tmp/INSTALL.sh.sha${sum} | cut -f1 -d\ )

View File

@ -1 +1 @@
e22978c7d6a435860481f5176b0329929b52e803 INSTALL_NODB.sh
ab0a75b84ba34290ae16109dd9423aa6ff4e61cd INSTALL_NODB.sh

View File

@ -1 +1 @@
c8371ed0021b94b273c60a232077940d7a0b850d24835f66640e24525289a25c INSTALL_NODB.sh
5ff074e22636b57cb6ee5a5b363460b6131a57c72c272c85816f9abeee69dc9b INSTALL_NODB.sh

View File

@ -1 +1 @@
fff47b0b6c1c0e3a9d7090bfd4293e669e7f69e983120c54ec0c5dec38194d08d02f8a35132ace4f2793244aabbd59cf INSTALL_NODB.sh
c89ec379d9d1b6ce87d1ea18a52406f1327a2b0ec04155243bba1e5934581f8aa7d825aebfa3b247f7e73b8a5814bc61 INSTALL_NODB.sh

View File

@ -1 +1 @@
3919e5da273392f13da691a43e824c94b685976ef2b8a0df198be188bc319699c707c0b5975f6e354f3d5261690102df0b91f08bf752d4a7a785d5d354bb2ab1 INSTALL_NODB.sh
c12d31a21acf64cf1423cf050bbb8537969c7c6f3fb115e81394f32414c0e1081c1445902eaffd17cd32259ad8462b92d44f91a8d72b72621c883ee8cda93e0a INSTALL_NODB.sh