From 9582dfac6bd83d1dcfe05ffeee54c59a9b89a39f Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 16 Jun 2019 17:50:39 +0300 Subject: [PATCH] kiss: Remove dependency on diff --- 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." }