forked from kiss-community/kiss
kiss: Use diff instead of cmp
This commit is contained in:
parent
400bc8e83e
commit
62ee15db43
2
kiss
2
kiss
@ -673,7 +673,7 @@ pkg_verify() {
|
|||||||
# Verify all package checksums. This is achieved by generating
|
# Verify all package checksums. This is achieved by generating
|
||||||
# a new set of checksums and then comparing those with the old
|
# a new set of checksums and then comparing those with the old
|
||||||
# set.
|
# set.
|
||||||
for pkg do pkg_checksums "$pkg" | cmp - "$(pkg_find "$pkg")/checksums" || {
|
for pkg do pkg_checksums "$pkg" | diff - "$(pkg_find "$pkg")/checksums" || {
|
||||||
log "$pkg" "Checksum mismatch"
|
log "$pkg" "Checksum mismatch"
|
||||||
|
|
||||||
# Instead of dying above, log it to the terminal. Also define a
|
# Instead of dying above, log it to the terminal. Also define a
|
||||||
|
Loading…
Reference in New Issue
Block a user