kiss: fix duplicated installs on update

This commit is contained in:
Dylan Araps 2021-07-05 14:03:02 +03:00
parent 94029af80a
commit df40997c4f
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

10
kiss
View File

@ -797,11 +797,13 @@ pkg_build() {
fi
done
# Intentional, globbing disabled.
# shellcheck disable=2046,2086
set -- $explicit
[ "$pkg_update" ] || {
# Intentional, globbing disabled.
# shellcheck disable=2046,2086
set -- $explicit
[ "$pkg_update" ] || prompt "Install built packages? [$*]" && (args i "$@")
! prompt "Install built packages? [$*]" || (args i "$@")
}
}
pkg_checksums() {