kiss: cleanup

This commit is contained in:
Dylan Araps 2019-09-10 12:14:04 +03:00
parent 04cdc78920
commit 6f6ed03755
1 changed files with 1 additions and 2 deletions

3
kiss
View File

@ -629,8 +629,7 @@ pkg_remove() {
if [ -d "$KISS_ROOT/$file" ]; then
rmdir "$KISS_ROOT/$file" 2>/dev/null || continue
else
rm -f -- "$KISS_ROOT/$file" ||
log "[$1] Failed to remove '$file'"
rm -f -- "$KISS_ROOT/$file"
fi
done < "$KISS_ROOT/$pkg_db/$1/manifest"