mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-24 16:10:05 -07:00
kiss: Avoid usage of /dev/stdout.
This commit is contained in:
parent
7c01fcc347
commit
c740a78ef8
9
kiss
9
kiss
@ -20,7 +20,8 @@ source_type() {
|
||||
}
|
||||
|
||||
pkg_clean() {
|
||||
rm -rf -- "$mak_dir" "$pkg_dir" "$cac_dir/manifest" "$cac_dir/tar"
|
||||
rm -rf -- "$mak_dir" "$pkg_dir" \
|
||||
"$cac_dir/manifest" "$cac_dir/tar" "$cac_dir/checksums"
|
||||
}
|
||||
|
||||
pkg_search() {
|
||||
@ -84,8 +85,10 @@ pkg_checksum() {
|
||||
}
|
||||
|
||||
pkg_verify() {
|
||||
[ "$(pkg_checksum /dev/stdout)" = "$(cat checksums)" ] ||
|
||||
die "Checksum mismatch, run '$kiss checksum $name'."
|
||||
pkg_checksum "$cac_dir/checksums"
|
||||
|
||||
cmp -s "$cac_dir/checksums" checksums ||
|
||||
die "checksum mismatch, run '$kiss checksum $name'."
|
||||
}
|
||||
|
||||
pkg_extract() {
|
||||
|
Loading…
Reference in New Issue
Block a user