kiss: simplify prompt

This commit is contained in:
Dylan Araps 2021-07-17 09:18:14 +03:00
parent 65f553e053
commit ae345fd8c2
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 3 additions and 5 deletions

8
kiss
View File

@ -820,13 +820,11 @@ pkg_build_all() {
fi
done
[ "$pkg_update" ] || {
case $pkg_update in '')
# Intentional, globbing disabled.
# shellcheck disable=2046,2086
set -- $explicit
! prompt "Install built packages? [$*]" || (args i "$@")
}
! prompt "Install built packages? [$explicit]" || (args i $explicit)
esac
}
pkg_build() {