AI: Update download-scrfd.sh script #5167

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2025-10-07 22:16:19 +02:00
parent 1eac265978
commit ab60112f99

View file

@ -48,7 +48,7 @@ verify_hash() {
if [[ -f "${MODEL_FILE}" ]]; then
CURRENT_HASH=$(hash_file "${MODEL_FILE}")
if [[ "${CURRENT_HASH}" == ${MODEL_HASH%% *} ]]; then
if [[ "${CURRENT_HASH}" == "${MODEL_HASH%% *}" ]]; then
echo "SCRFD model already up to date."
exit 0
fi