mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-23 23:50:05 -07:00
kiss: clean up
This commit is contained in:
parent
fa3a8bc65e
commit
e0add80c9c
3
kiss
3
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" ] &&
|
||||
|
Loading…
Reference in New Issue
Block a user