kiss: simplify prompt

This commit is contained in:
Dylan Araps 2021-06-28 12:44:18 +00:00
parent 58d1c669e5
commit ea18c88f74
1 changed files with 1 additions and 9 deletions

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() {