71
71
local SUM_TYPE=${SUM_STRING%%\=*} # string before the first '='
72
72
local SUM_VALUE=${SUM_STRING#*\=} # string after the first '='
74
77
curl ${CURL_OPTS} -o ${FILE_NAME} ${URL}
76
79
# Verify our resource checksum. If this fails, let verify_resource log
77
80
# the reason and exit successfully. Exiting non-zero would fail the hook,
78
81
# so return 0 and simply inform the user that verification failed.