kiss: prompt for password before multi-build

This commit is contained in:
Dylan Araps 2020-01-27 13:42:29 +02:00
parent 613d5e6967
commit 1376de2f31
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

6
kiss
View File

@ -479,7 +479,11 @@ pkg_build() {
log "Building: $*" log "Building: $*"
# Only ask for confirmation if more than one package needs to be built. # Only ask for confirmation if more than one package needs to be built.
[ $# -gt 1 ] || [ "$pkg_update" ] && prompt [ $# -gt 1 ] || [ "$pkg_update" ] && {
prompt
[ "$pass" ] || root_cache
}
log "Checking to see if any dependencies have already been built" log "Checking to see if any dependencies have already been built"
log "Installing any pre-built dependencies" log "Installing any pre-built dependencies"