testing
This commit is contained in:
parent
6808076d8d
commit
00a29ccc5d
@ -54,7 +54,11 @@ if [[ -z "$CHECKSUM" ]]; then
|
|||||||
exit_with_error "No Checksum found in json: ${JSON}"
|
exit_with_error "No Checksum found in json: ${JSON}"
|
||||||
fi
|
fi
|
||||||
echo "Remote checksum ${CHECKSUM}"
|
echo "Remote checksum ${CHECKSUM}"
|
||||||
OLDCHECKSUM=$(cat "${VERSIONFILE}" 2>/dev/null)
|
if [[ -f "${VERSIONFILE}" ]]; then
|
||||||
|
OLDCHECKSUM=$(cat "${VERSIONFILE}")
|
||||||
|
else
|
||||||
|
OLDCHECKSUM="none"
|
||||||
|
fi
|
||||||
echo "Local checksum ${OLDCHECKSUM}"
|
echo "Local checksum ${OLDCHECKSUM}"
|
||||||
|
|
||||||
#get new framework if no original framework, no local checksum, or remote checksum is different from local.
|
#get new framework if no original framework, no local checksum, or remote checksum is different from local.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user