misC: nit

This commit is contained in:
Dylan Araps 2021-07-19 18:14:12 +03:00
parent e44458cd24
commit bfcaca6146
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 6 additions and 9 deletions

15
kiss
View File

@ -1744,16 +1744,13 @@ args() {
pkg_checksums
case $hash in
'')
log "$pkg" "No sources needing checksums"
;;
if ok "$hash"; then
printf '%s\n' "$hash" > "$repo_dir/checksums"
log "$pkg" "Generated checksums"
*)
printf '%s\n' "$hash" > "$repo_dir/checksums"
log "$pkg" "Generated checksums"
;;
esac
else
log "$pkg" "No sources needing checksums"
fi
done
;;