makepkg: fix my own stupid mistake

We don't want to bail if a certain integrity check wasn't even provided.
Whoops.

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2009-01-13 20:13:31 -06:00
parent e3a06961f6
commit 7a3a718c7a
1 changed files with 1 additions and 1 deletions

View File

@ -587,7 +587,7 @@ check_checksums() {
error "$(gettext "One or more files did not pass the validity check!")"
exit 1 # TODO: error code
fi
else
elif [ ${#integrity_sums[@]} -gt 0 ]; then
error "$(gettext "Integrity checks (%s) differ in size from the source array.")" "$integ"
exit 1 # TODO: error code
fi