From bfcaca61468df8dbc37631e3a4a61375be3a9915 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 19 Jul 2021 18:14:12 +0300 Subject: [PATCH] misC: nit --- kiss | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/kiss b/kiss index 9c0930c..e664de8 100755 --- a/kiss +++ b/kiss @@ -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 ;;