cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit 401340b1fd4e4a6b1359943aeca7f5c838323130
parent 3c30e5208e29cc4b66c4e8218ffff293c7813a9a
Author: Cem Keylan <cem@ckyln.com>
Date:   Wed, 10 Jun 2020 23:45:42 +0300

kiss: fix checking for manifests

Diffstat:
Mkiss | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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