aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-16 08:57:34 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-16 08:57:34 +0000
commitbcccd22c04f6972b3d31bc1a80341d921455cb6e (patch)
treee3bf22c022496465e6b220d6e4cebf7cb0a6b25a
parenta5af235fd6ed0326f4dc4fdc0faaabec3217a1f0 (diff)
downloadcpt-bcccd22c04f6972b3d31bc1a80341d921455cb6e.tar.gz
kiss: fix update dependency handling
FossilOrigin-Name: ec18cc993ce4a865e8622331ef026bf5724cd835650b5d20293bae34bf15353a
-rwxr-xr-xkiss5
1 files changed, 3 insertions, 2 deletions
diff --git a/kiss b/kiss
index 9ef08da..7367dd8 100755
--- a/kiss
+++ b/kiss
@@ -181,7 +181,7 @@ pkg_depends() {
contains "$deps" "$1" || {
# Filter out non-explicit, aleady installed dependencies.
# Only filter installed if called from 'pkg_build()'.
- [ -z "${action##b*}" ] && [ -z "$2" ] &&
+ [ "$pkg_build" ] && [ -z "$2" ] &&
(pkg_list "$1" >/dev/null) && return
# Recurse through the dependencies of the child packages.
@@ -317,6 +317,7 @@ pkg_build() {
# Build packages and turn them into packaged tar-balls. This function
# also checks checksums, downloads sources and ensure all dependencies
# are installed.
+ pkg_build=1
log "Resolving dependencies"
@@ -933,7 +934,7 @@ args() {
;;
v|version|-v|--version)
- printf 'kiss 0.30.0\n'
+ printf 'kiss 0.30.1\n'
;;
h|help|-h|--help|'')