1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-24 16:10:05 -07:00

kiss: cleanup

This commit is contained in:
Dylan Araps 2019-06-16 18:22:57 +03:00
parent 6132ccc7af
commit 70d761cbc0

2
kiss
View File

@ -149,7 +149,7 @@ pkg_remove() {
pkg_list "$name" || return 1 pkg_list "$name" || return 1
while read -r file; do while read -r file; do
[ "${file%/*}" = "/etc" ] && continue [ "${file%/*}" = /etc ] && continue
if [ -d "$sys_dir$file" ]; then if [ -d "$sys_dir$file" ]; then
rmdir "$sys_dir$file" 2>/dev/null || continue rmdir "$sys_dir$file" 2>/dev/null || continue