puke: cleanup

This commit is contained in:
Dylan Araps 2019-05-16 20:31:49 +03:00
parent 5de17f36fa
commit 65279afb64

2
puke
View File

@ -113,7 +113,7 @@ pkg_remove() {
if [ -d "$sys_dir$file" ]; then
rmdir "$sys_dir$file" 2>/dev/null || continue
else
rm -- "$sys_dir$file" || log "Failed to remove $file."
rm -f -- "$sys_dir$file" || log "Failed to remove $file."
fi && log "Removed $file"
done < "$sys_db/$name/manifest"
}