kiss: cleanup

This commit is contained in:
Dylan Araps 2019-06-16 18:22:57 +03:00
parent 6132ccc7af
commit 70d761cbc0
1 changed files with 1 additions and 1 deletions

2
kiss
View File

@ -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