mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-24 16:10:05 -07:00
kiss: Remove dependency on diff
This commit is contained in:
parent
333b77dfe7
commit
9582dfac6b
@ -32,7 +32,6 @@ See: <https://github.com/kissx/packages>
|
|||||||
Full list of dependencies.
|
Full list of dependencies.
|
||||||
|
|
||||||
- `cp`
|
- `cp`
|
||||||
- `diff`
|
|
||||||
- `file`
|
- `file`
|
||||||
- `find`
|
- `find`
|
||||||
- `git` (For `git` packages.)
|
- `git` (For `git` packages.)
|
||||||
|
2
kiss
2
kiss
@ -79,7 +79,7 @@ pkg_checksum() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pkg_verify() {
|
pkg_verify() {
|
||||||
pkg_checksum /dev/stdout | diff checksums - ||
|
[ "$(pkg_checksum /dev/stdout)" = "$(cat checksums)" ] ||
|
||||||
die "Checksum mismatch, run '$0 checksum $name' to update checksums."
|
die "Checksum mismatch, run '$0 checksum $name' to update checksums."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user