aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-16 14:50:38 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-16 14:50:38 +0000
commitbd842669499a03c2e3c7ec1c4faea4ce1538de7a (patch)
treece8cf966c7368b90f6693d25b65fbf39834139a1
parenta73dcec1b786bbde4968406736d3f2696b1ad61f (diff)
downloadcpt-bd842669499a03c2e3c7ec1c4faea4ce1538de7a.tar.gz
kiss: Remove dependency on diff
FossilOrigin-Name: 8c9d7f1317355260b6cd7590da709bcdccf5f33d581609dc7e44f8f84247a01b
-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."
}