cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit 9582dfac6bd83d1dcfe05ffeee54c59a9b89a39f
parent 333b77dfe7def63f19950d5f623ca1bd4f3ad637
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Sun, 16 Jun 2019 17:50:39 +0300

kiss: Remove dependency on diff

Diffstat:
MREADME.md | 1-
Mkiss | 2+-
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git 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 @@ -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." }