kiss: add back prompt post build

This commit is contained in:
Dylan Araps 2020-10-09 07:40:49 +03:00
parent 5c2d43e463
commit 83744f4276
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

10
kiss
View File

@ -799,6 +799,16 @@ pkg_build() {
) )
done done
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
log "successfully built all packages" log "successfully built all packages"
} }