forked from kiss-community/kiss
kiss: cleanup
This commit is contained in:
parent
6132ccc7af
commit
70d761cbc0
2
kiss
2
kiss
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user