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:
parent
58d1c669e5
commit
ea18c88f74
10
kiss
10
kiss
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user