mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-23 07:30:16 -07:00
kiss: Only verify checksums if we have checksums to verify
This commit is contained in:
parent
912ba91654
commit
a73f120c9d
3
kiss
3
kiss
@ -960,6 +960,9 @@ pkg_verify() {
|
||||
# shellcheck disable=2038,2086
|
||||
set -- $_hash
|
||||
|
||||
# Only read checksums if we generated some.
|
||||
! [ "$1" ] ||
|
||||
|
||||
# Check that the first column (separated by whitespace) match in both
|
||||
# checksum files. If any part of either file differs, mismatch. Abort.
|
||||
while read -r chk _ || [ "$1" ]; do
|
||||
|
Loading…
Reference in New Issue
Block a user