forked from kiss-community/kiss
kiss: cleanup
This commit is contained in:
parent
04cdc78920
commit
6f6ed03755
3
kiss
3
kiss
@ -629,8 +629,7 @@ pkg_remove() {
|
|||||||
if [ -d "$KISS_ROOT/$file" ]; then
|
if [ -d "$KISS_ROOT/$file" ]; then
|
||||||
rmdir "$KISS_ROOT/$file" 2>/dev/null || continue
|
rmdir "$KISS_ROOT/$file" 2>/dev/null || continue
|
||||||
else
|
else
|
||||||
rm -f -- "$KISS_ROOT/$file" ||
|
rm -f -- "$KISS_ROOT/$file"
|
||||||
log "[$1] Failed to remove '$file'"
|
|
||||||
fi
|
fi
|
||||||
done < "$KISS_ROOT/$pkg_db/$1/manifest"
|
done < "$KISS_ROOT/$pkg_db/$1/manifest"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user