aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index 9bb1e22..37aec63 100755
--- 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"