aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss3
1 files changed, 3 insertions, 0 deletions
diff --git a/kiss b/kiss
index a35f9d0..d00c0b5 100755
--- a/kiss
+++ b/kiss
@@ -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() {