mirror of
https://github.com/moparisthebest/pacman
synced 2025-03-03 10:51:47 -05:00
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:
parent
e3a06961f6
commit
7a3a718c7a
@ -587,7 +587,7 @@ check_checksums() {
|
|||||||
error "$(gettext "One or more files did not pass the validity check!")"
|
error "$(gettext "One or more files did not pass the validity check!")"
|
||||||
exit 1 # TODO: error code
|
exit 1 # TODO: error code
|
||||||
fi
|
fi
|
||||||
else
|
elif [ ${#integrity_sums[@]} -gt 0 ]; then
|
||||||
error "$(gettext "Integrity checks (%s) differ in size from the source array.")" "$integ"
|
error "$(gettext "Integrity checks (%s) differ in size from the source array.")" "$integ"
|
||||||
exit 1 # TODO: error code
|
exit 1 # TODO: error code
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user