1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-24 16:10:05 -07:00

kiss: Removed backed up versions of rm/rmdir

This commit is contained in:
Dylan Araps 2019-06-16 19:54:30 +03:00
parent 8f4faa1707
commit 6342f187ce

3
kiss
View File

@ -167,6 +167,9 @@ pkg_remove() {
"$cac_dir/rm" -f -- "$sys_dir$file" || log "Failed to remove $file."
fi && log "Removed $file"
done < "$sys_db/$name/manifest"
# Use the backup of 'rm' to remove 'rmdir' and itself.
"$cac_dir/rm" "$cac_dir/rmdir" "$cac_dir/rm"
}
pkg_updates() {