diff options
author | merakor <cem@ckyln.com> | 2020-05-28 11:48:15 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-05-28 11:48:15 +0000 |
commit | add2e2d920c30bbb0bb2832dd6923739e494389d (patch) | |
tree | 3bb0de65a04045ee17e72abc867fcac238c642bf /kiss | |
parent | 6da438d7c7aaddb7b03f5b8103fb4d322cc7788d (diff) | |
download | cpt-add2e2d920c30bbb0bb2832dd6923739e494389d.tar.gz |
kiss: fix directory check during package removal
FossilOrigin-Name: 4a06f438572a741430d253305d7dbf1d41da5d4763dc1e34030941b40a0aab5e
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |