1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-22 23:20:06 -07:00

kiss: nit

This commit is contained in:
Dylan Araps 2021-07-17 18:40:34 +03:00
parent 105f29fb9d
commit 0cdcdedfd5
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

10
kiss
View File

@ -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