aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-11 12:07:20 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-11 12:07:20 +0000
commit653c7390a4dee332a903c4b56ef416adbf3692a8 (patch)
tree5ee8273f97dc3388e59a048c7e96105acbdec004
parent8d0385d00b7f5d2442985abf6c425e4474578bba (diff)
downloadcpt-653c7390a4dee332a903c4b56ef416adbf3692a8.tar.gz
kiss: Really fix kiss u behavior
FossilOrigin-Name: 7230b3bf6ed6a44dcae91ec8ec9f63b0595f7bc27fb51ac765993ad8f9a255cf
-rwxr-xr-xkiss5
1 files changed, 1 insertions, 4 deletions
diff --git a/kiss b/kiss
index ed65684..14e136a 100755
--- a/kiss
+++ b/kiss
@@ -393,7 +393,7 @@ pkg_build() {
}
done
- explicit_build=$explicit
+ [ "$pkg_update" ] || explicit_build=$explicit
# If an explicit package is a dependency of another explicit
# package, remove it from the explicit list as it needs to be
@@ -414,9 +414,6 @@ pkg_build() {
# Only ask for confirmation if more than one package needs to be built.
[ $# -gt 1 ] || [ "$pkg_update" ] && prompt
- # Treat all packages as implicit if this is an update.
- [ "$pkg_update" ] && explicit=
-
log "Checking to see if any dependencies have already been built"
log "Installing any pre-built dependencies"