cpt

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

commit 64e90b8d061c44488c91d493ca8cb1017210d91e
parent 401340b1fd4e4a6b1359943aeca7f5c838323130
Author: Cem Keylan <cem@ckyln.com>
Date:   Thu, 11 Jun 2020 00:29:57 +0300

kiss: don't use regex on grep call

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

diff --git a/kiss b/kiss @@ -1069,7 +1069,7 @@ pkg_remove() { [ "${file##/etc/*}" ] || continue if [ -d "$KISS_ROOT/$file" ]; then - "$grep" -q "^$file\$" "$mak_dir/dirs" 2>/dev/null && continue + "$grep" -Fxq "$file" "$mak_dir/dirs" 2>/dev/null && continue rmdir "$KISS_ROOT/$file" 2>/dev/null || continue else rm -f "$KISS_ROOT/$file"