From 0cdcdedfd5b134cdf0a48d003d0b34bbf9ada04e Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 17 Jul 2021 18:40:34 +0300 Subject: [PATCH] kiss: nit --- kiss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kiss b/kiss index 6512f10..ff96c84 100755 --- a/kiss +++ b/kiss @@ -1349,6 +1349,7 @@ pkg_installable() { ! [ -d "$sys_db/$dep" ] || continue printf '%s %s\n' "$dep" "$dep_type" + set -- "$1" "$2" "$(($3 + 1))" esac done < "$2" @@ -1530,11 +1531,10 @@ pkg_update() { # env: PWD is path to repository run_hook pre-update - # Display a tick if signing is enabled for this repository. - case $(git config merge.verifySignatures) in - true) log "$PWD" "[signed] " ;; - *) log "$PWD" " " ;; - esac + # Display whether or not signature verification is enabled. + _sig=$(git config --get --default false merge.verifySignatures) + + log "$PWD" "[verify: $_sig]" if [ -w "$PWD" ] && [ "$uid" != 0 ]; then git pull