From d64cceb1dd92423eb283d9d9e0fa102d764e3ba4 Mon Sep 17 00:00:00 2001 From: merakor Date: Wed, 10 Jun 2020 20:45:41 +0000 Subject: kiss: fix checking for manifests FossilOrigin-Name: 5cb9da583c9fd8420ed37dc7d81aade406ce8786cc8a3c51f746665b2e504f84 --- kiss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3