1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 00:20:05 -07:00

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