aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-17 08:33:52 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-17 08:33:52 +0000
commit829e5095a3109e52fd8734d322f18c4ee96cdc2d (patch)
treeec885b34bb10b214e9a05bc480275c2c1e1fea2d
parent9edcdbaf602455d89578968f37716f7858c7bd7f (diff)
downloadcpt-829e5095a3109e52fd8734d322f18c4ee96cdc2d.tar.gz
kiss: clean up
FossilOrigin-Name: 0d689ff3576df4598663c943ff65cc165f79163a3471edad0cfe6292ab102085
-rwxr-xr-xkiss3
1 files changed, 1 insertions, 2 deletions
diff --git a/kiss b/kiss
index cbecbac..be18415 100755
--- a/kiss
+++ b/kiss
@@ -143,7 +143,6 @@ pkg_install() {
pkg_remove "$name"
"$cac_dir/tar" kpxvf "$bin_dir/$pkg" -C "$sys_dir/"
- rm "$cac_dir/tar"
"$sys_db/$name/post-install" 2>/dev/null
@@ -235,7 +234,7 @@ args() {
}
main() {
- trap 'rm -rf -- "$mak_dir" "$pkg_dir"' EXIT INT
+ trap 'rm -rf -- "$mak_dir" "$pkg_dir" "$cac_dir/tar"' EXIT INT
kiss=${0##*/}
[ -z "$KISS_PATH" ] &&