aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-05-28 11:48:15 +0000
committermerakor <cem@ckyln.com>2020-05-28 11:48:15 +0000
commitadd2e2d920c30bbb0bb2832dd6923739e494389d (patch)
tree3bb0de65a04045ee17e72abc867fcac238c642bf
parent6da438d7c7aaddb7b03f5b8103fb4d322cc7788d (diff)
downloadcpt-add2e2d920c30bbb0bb2832dd6923739e494389d.tar.gz
kiss: fix directory check during package removal
FossilOrigin-Name: 4a06f438572a741430d253305d7dbf1d41da5d4763dc1e34030941b40a0aab5e
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index 60426a7..752a505 100755
--- 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"