From 16f53ebb021c39056857efcf9cd326562ae12dde Mon Sep 17 00:00:00 2001 From: merakor Date: Thu, 28 May 2020 00:11:36 +0000 Subject: kiss: check actual value instead of non-zero FossilOrigin-Name: 172f636d6b0d67389534a8b8c02cb312558a79123a38177a083e92f4985e4b52 --- kiss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kiss b/kiss index c4d6d34..d152cf4 100755 --- a/kiss +++ b/kiss @@ -1097,7 +1097,7 @@ pkg_install() { # Ensure that the tarball's manifest is correct by checking that # each file and directory inside of it actually exists. - [ -z "$KISS_FORCE" ] && log "$pkg_name" "Checking package manifest" && + [ "$KISS_FORCE" != 1 ] && log "$pkg_name" "Checking package manifest" && while read -r line; do # Skip symbolic links [ -h "$tar_dir/$pkg_name/$line" ] || @@ -1116,7 +1116,7 @@ pkg_install() { # Make sure that all run-time dependencies are installed prior to # installing the package. [ -f "$tar_dir/$pkg_name/$pkg_db/$pkg_name/depends" ] && - [ -z "$KISS_FORCE" ] && + [ "$KISS_FORCE" != 1 ] && while read -r dep dep_type || [ "$dep" ]; do [ "${dep##\#*}" ] || continue [ "$dep_type" ] || pkg_list "$dep" >/dev/null || -- cgit v1.2.3