1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 00:20:05 -07:00

kiss: don't prompt when updating unless dependnecies added

This commit is contained in:
Dylan Araps 2021-07-16 07:47:43 +03:00
parent e87d3670ba
commit c9a37c2f3e
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

2
kiss
View File

@ -760,7 +760,7 @@ pkg_build_all() {
set -- $deps "$@" set -- $deps "$@"
# Ask for confirmation if extra packages need to be built. # Ask for confirmation if extra packages need to be built.
[ "$#" -ne "$explicit_cnt" ] || [ "$pkg_update" ] && prompt [ "$#" = "$explicit_cnt" ] || prompt
log "Checking for pre-built dependencies" log "Checking for pre-built dependencies"