kiss: cleanup

This commit is contained in:
Dylan Araps 2019-09-10 12:14:04 +03:00
parent 04cdc78920
commit 6f6ed03755

3
kiss
View File

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