aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-06-10 20:45:41 +0000
committermerakor <cem@ckyln.com>2020-06-10 20:45:41 +0000
commitd64cceb1dd92423eb283d9d9e0fa102d764e3ba4 (patch)
treeacce280cf9b468b587e26a6a02143f5ead5b4ecf /kiss
parentb118aed69d7c7e4b820437b2c9248fd11b8064c1 (diff)
downloadcpt-d64cceb1dd92423eb283d9d9e0fa102d764e3ba4.tar.gz
kiss: fix checking for manifests
FossilOrigin-Name: 5cb9da583c9fd8420ed37dc7d81aade406ce8786cc8a3c51f746665b2e504f84
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index 5a24518..9bb1e22 100755
--- a/kiss
+++ b/kiss
@@ -1059,7 +1059,7 @@ pkg_remove() {
# purpose (such as baselayout).
manifest_list="$(set +f; pop "$sys_db/$1/manifest" from "$sys_db/"*/manifest)"
# shellcheck disable=2086
- [ $manifest_list ] && grep -h '/$' $manifest_list | sort -ur > "$mak_dir/dirs"
+ [ "$manifest_list" ] && grep -h '/$' $manifest_list | sort -ur > "$mak_dir/dirs"
run_hook pre-remove "$1" "$sys_db/$1" root