From 7a3a718c7af493049cf7f9b7c65032f59cc8a71d Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 13 Jan 2009 20:13:31 -0600 Subject: 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 --- scripts/makepkg.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index baa9c57b..e9e38b3a 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -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 -- cgit v1.2.3-24-g4f1b