aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-11 11:46:56 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-11 11:46:56 +0000
commit8d0385d00b7f5d2442985abf6c425e4474578bba (patch)
tree5fa926de820719891467e9132a19c48152b7ba63
parent254bf3f1561e93356a65b63ed34bfb93edfc0aac (diff)
downloadcpt-8d0385d00b7f5d2442985abf6c425e4474578bba.tar.gz
kiss: Fix kiss u bug
FossilOrigin-Name: 9b4ac78c9bdc04affddcf3c43f63fc684bcaa6ac4d8bbb965d59cd8aff0b966e
-rwxr-xr-xkiss5
1 files changed, 4 insertions, 1 deletions
diff --git a/kiss b/kiss
index d6cd26a..ed65684 100755
--- a/kiss
+++ b/kiss
@@ -414,6 +414,9 @@ 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"
@@ -427,7 +430,7 @@ pkg_build() {
read -r version release < "$(pkg_find "$pkg")/version"
# Install any pre-built binaries if they exist.
- # This calls 'args' to inherit a root check and call
+ # This calls 'args' to inherit a root check
# to 'su' to elevate permissions.
[ -f "$bin_dir/$pkg#$version-$release.tar.gz" ] && {
log "$pkg" "Found pre-built binary, installing"