diff options
author | merakor <cem@ckyln.com> | 2020-05-28 00:11:36 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-05-28 00:11:36 +0000 |
commit | 16f53ebb021c39056857efcf9cd326562ae12dde (patch) | |
tree | 7ed8dbc0222e5b0ea292dcc88e44d55fed6b7e8c | |
parent | c3c4956f0183cfc4d44d918ab4ece815899aa1b9 (diff) | |
download | cpt-16f53ebb021c39056857efcf9cd326562ae12dde.tar.gz |
kiss: check actual value instead of non-zero
FossilOrigin-Name: 172f636d6b0d67389534a8b8c02cb312558a79123a38177a083e92f4985e4b52
-rwxr-xr-x | kiss | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 || |