diff options
author | merakor <cem@ckyln.com> | 2020-06-10 20:45:41 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-06-10 20:45:41 +0000 |
commit | d64cceb1dd92423eb283d9d9e0fa102d764e3ba4 (patch) | |
tree | acce280cf9b468b587e26a6a02143f5ead5b4ecf /kiss | |
parent | b118aed69d7c7e4b820437b2c9248fd11b8064c1 (diff) | |
download | cpt-d64cceb1dd92423eb283d9d9e0fa102d764e3ba4.tar.gz |
kiss: fix checking for manifests
FossilOrigin-Name: 5cb9da583c9fd8420ed37dc7d81aade406ce8786cc8a3c51f746665b2e504f84
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |