aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-16 15:22:57 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-16 15:22:57 +0000
commit9ca70045a914a8e1aa982cc8e554857739167b95 (patch)
tree9e654381f82676bc31651eb1db1e96bc8be6698f
parent29595ede859fec42b89a46f0068e54f1e170fe5f (diff)
downloadcpt-9ca70045a914a8e1aa982cc8e554857739167b95.tar.gz
kiss: cleanup
FossilOrigin-Name: 6cd7f15fe436be477d6c8a9b02fc2296e2ebff99fa3d573f93af3c50ca7a2415
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index 5c7e71a..a2edff5 100755
--- a/kiss
+++ b/kiss
@@ -149,7 +149,7 @@ pkg_remove() {
pkg_list "$name" || return 1
while read -r file; do
- [ "${file%/*}" = "/etc" ] && continue
+ [ "${file%/*}" = /etc ] && continue
if [ -d "$sys_dir$file" ]; then
rmdir "$sys_dir$file" 2>/dev/null || continue