mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-23 07:30:16 -07:00
kiss: nit
This commit is contained in:
parent
105f29fb9d
commit
0cdcdedfd5
10
kiss
10
kiss
@ -1349,6 +1349,7 @@ pkg_installable() {
|
|||||||
! [ -d "$sys_db/$dep" ] || continue
|
! [ -d "$sys_db/$dep" ] || continue
|
||||||
|
|
||||||
printf '%s %s\n' "$dep" "$dep_type"
|
printf '%s %s\n' "$dep" "$dep_type"
|
||||||
|
|
||||||
set -- "$1" "$2" "$(($3 + 1))"
|
set -- "$1" "$2" "$(($3 + 1))"
|
||||||
esac
|
esac
|
||||||
done < "$2"
|
done < "$2"
|
||||||
@ -1530,11 +1531,10 @@ pkg_update() {
|
|||||||
# env: PWD is path to repository
|
# env: PWD is path to repository
|
||||||
run_hook pre-update
|
run_hook pre-update
|
||||||
|
|
||||||
# Display a tick if signing is enabled for this repository.
|
# Display whether or not signature verification is enabled.
|
||||||
case $(git config merge.verifySignatures) in
|
_sig=$(git config --get --default false merge.verifySignatures)
|
||||||
true) log "$PWD" "[signed] " ;;
|
|
||||||
*) log "$PWD" " " ;;
|
log "$PWD" "[verify: $_sig]"
|
||||||
esac
|
|
||||||
|
|
||||||
if [ -w "$PWD" ] && [ "$uid" != 0 ]; then
|
if [ -w "$PWD" ] && [ "$uid" != 0 ]; then
|
||||||
git pull
|
git pull
|
||||||
|
Loading…
Reference in New Issue
Block a user