Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
kiss: fix update dependency handling
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanaraps committed Sep 16, 2019
1 parent f40a8cd commit ca1fe52
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions kiss
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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"

Expand Down Expand Up @@ -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|'')
Expand Down

0 comments on commit ca1fe52

Please sign in to comment.