kiss: simplify prompt
This commit is contained in:
parent
58d1c669e5
commit
ea18c88f74
10
kiss
10
kiss
|
@ -753,15 +753,7 @@ pkg_build() {
|
||||||
# shellcheck disable=2046,2086
|
# shellcheck disable=2046,2086
|
||||||
set -- $explicit
|
set -- $explicit
|
||||||
|
|
||||||
if [ "$pkg_update" ]; then
|
[ "$pkg_update" ] || prompt "Install built packages? [$*]" && args i "$@"
|
||||||
return
|
|
||||||
|
|
||||||
elif [ "$#" -gt 1 ] && prompt "Install built packages? [$*]"; then
|
|
||||||
args i "$@"
|
|
||||||
|
|
||||||
else
|
|
||||||
log "Run 'kiss i $*' to install the package(s)"
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_checksums() {
|
pkg_checksums() {
|
||||||
|
|
Loading…
Reference in New Issue