kiss: Remove dependency on diff

This commit is contained in:
Dylan Araps 2019-06-16 17:50:39 +03:00
parent 333b77dfe7
commit 9582dfac6b
2 changed files with 1 additions and 2 deletions

View File

@ -32,7 +32,6 @@ See: <https://github.com/kissx/packages>
Full list of dependencies.
- `cp`
- `diff`
- `file`
- `find`
- `git` (For `git` packages.)

2
kiss
View File

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