cpt

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

commit c247584468ee09ea6ce2379a9be715bae43b5026
parent fff1d3a77d26a4a0e60e8baad059a4887e6e7325
Author: Cem Keylan <cem@ckyln.com>
Date:   Thu, 28 May 2020 14:48:15 +0300

kiss: fix directory check during package removal

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

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