From bd842669499a03c2e3c7ec1c4faea4ce1538de7a Mon Sep 17 00:00:00 2001 From: "dylan.araps@gmail.com" Date: Sun, 16 Jun 2019 14:50:38 +0000 Subject: kiss: Remove dependency on diff FossilOrigin-Name: 8c9d7f1317355260b6cd7590da709bcdccf5f33d581609dc7e44f8f84247a01b --- README.md | 1 - kiss | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 9bf2ee6..4d40327 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,6 @@ See: Full list of dependencies. - `cp` -- `diff` - `file` - `find` - `git` (For `git` packages.) diff --git a/kiss b/kiss index d7f154a..25c5240 100755 --- a/kiss +++ b/kiss @@ -79,7 +79,7 @@ pkg_checksum() { } pkg_verify() { - pkg_checksum /dev/stdout | diff checksums - || + [ "$(pkg_checksum /dev/stdout)" = "$(cat checksums)" ] || die "Checksum mismatch, run '$0 checksum $name' to update checksums." } -- cgit v1.2.3