1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-24 16:10:05 -07:00

kiss: simplify prompt

This commit is contained in:
Dylan Araps 2021-06-28 12:44:18 +00:00
parent 58d1c669e5
commit ea18c88f74

10
kiss
View File

@ -753,15 +753,7 @@ pkg_build() {
# shellcheck disable=2046,2086
set -- $explicit
if [ "$pkg_update" ]; then
return
elif [ "$#" -gt 1 ] && prompt "Install built packages? [$*]"; then
args i "$@"
else
log "Run 'kiss i $*' to install the package(s)"
fi
[ "$pkg_update" ] || prompt "Install built packages? [$*]" && args i "$@"
}
pkg_checksums() {