diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-06-16 16:54:29 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-06-16 16:54:29 +0000 |
commit | 78d2bce2962934cc444dfd82b3ccb35fa0fff981 (patch) | |
tree | 39bf8b28a0eab6efda72a7ec22f8b8bc3bde0dcc | |
parent | a2cce399d7d6fe1758e698e752143d31da9fb259 (diff) | |
download | cpt-78d2bce2962934cc444dfd82b3ccb35fa0fff981.tar.gz |
kiss: Removed backed up versions of rm/rmdir
FossilOrigin-Name: 6416020e612c28b40aadb4f05cd6502a300a35caabc2e78a34ce27adfd7ad744
-rwxr-xr-x | kiss | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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() { |