kiss: cleanup

This commit is contained in:
Dylan Araps 2019-09-10 12:35:25 +03:00
parent bbce776b6b
commit 9c4fe070d4

7
kiss
View File

@ -862,16 +862,13 @@ pkg_updates() {
return
}
# Turn the string of outdated packages into a 'list'.
set -- $outdated
log "Packages to update: $*"
log "Packages to update: ${outdated% }"
# Tell 'pkg_build' to always prompt before build.
pkg_update=1
# Build all packages requiring an update.
pkg_build "$@"
pkg_build $outdated
log "Updated all packages"
}