aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rwxr-xr-xkiss2
2 files changed, 1 insertions, 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: <https://github.com/kissx/packages>
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."
}