diff --git a/kiss b/kiss index 52ad628..94f420c 100755 --- a/kiss +++ b/kiss @@ -1344,16 +1344,7 @@ pkg_install() { if [ -x "$sys_db/$pkg_name/post-install" ]; then log "$pkg_name" "Running post-install hook" - - hook_output=$("$sys_db/$pkg_name/post-install" 2>&1) - - [ -z "$hook_output" ] || { - log "$pkg_name" "Running post-install hook" 2>&1 - printf '%s\n' "$hook_output" - } | - - # 'tee' is used as we would still like to display 'stderr' - tee -a "$log_dir/post-install-$time-$pid" >/dev/null + "$sys_db/$pkg_name/post-install" fi run_hook post-install "$pkg_name" "$sys_db/$pkg_name" @@ -1653,11 +1644,6 @@ args() { "$repo_dir" "$@" ;; esac - - if [ -s "$log_dir/post-install-$time-$pid" ]; then - cat "$log_dir/post-install-$time-$pid" - log "Post-install log stored to $log_dir/post-install-$time-$pid" - fi } create_tmp_dirs() {