From 37da7f822cb7ae60fd3fbdb2de3583997e150cf2 Mon Sep 17 00:00:00 2001 From: "herdiansyah@netc.eu" Date: Fri, 14 Jun 2019 16:47:20 +0000 Subject: install: add dependency check In case of a package already exist in $bin_dir if it isn't built in that system (e.g. by copying the tar file manually from another kiss instance), don't blindly install it but check if the depends are properly installed. Otherwise the binaries won't run properly. FossilOrigin-Name: f52346ecd23e37df73868d8d5f001bd882915695115164b438e13b81d4c99678 --- kiss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kiss b/kiss index 0990a1b..3231869 100755 --- a/kiss +++ b/kiss @@ -200,7 +200,9 @@ args() { pkg_checksum log "Generated checksums." ;; - i*) pkg_install ;; + i*) pkg_depends + pkg_install ;; + l*) pkg_list "$2" ;; r*) pkg_remove || die "Package '$name' not installed" ;; u*) pkg_updates ;; -- cgit v1.2.3