mirror of
https://github.com/moparisthebest/pacman
synced 2025-01-08 12:28:00 -05:00
Only check checksums if there is a source file
Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
a864a50bc6
commit
687f04ab46
@ -547,6 +547,8 @@ generate_checksums() {
|
||||
}
|
||||
|
||||
check_checksums() {
|
||||
[ ${#source[@]} -eq 0 ] && return 0
|
||||
|
||||
if [ ! $(type -p openssl) ]; then
|
||||
error "$(gettext "Cannot find openssl.")"
|
||||
exit 1 # $E_MISSING_PROGRAM
|
||||
|
Loading…
Reference in New Issue
Block a user