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
1 changed files with 3 additions and 0 deletions

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() {