mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-24 08:00:05 -07:00
kiss: Hide post-install output and only log at the end.
This prevents duplicate output and output which will just zoom past alongside the endless scroll of software compilation.
This commit is contained in:
parent
d95fc0e299
commit
47190ffc08
4
kiss
4
kiss
@ -1152,10 +1152,10 @@ pkg_install() {
|
||||
trap pkg_clean EXIT INT
|
||||
|
||||
if [ -x "$sys_db/$pkg_name/post-install" ]; then
|
||||
{
|
||||
log "$pkg_name" "Running post-install hook"; {
|
||||
log "$pkg_name" "post-install log"
|
||||
"$sys_db/$pkg_name/post-install"
|
||||
} 2>&1 | tee -a "$log_dir/post-install-$time-$pid"
|
||||
} 2>&1 | tee -a "$log_dir/post-install-$time-$pid" >/dev/null
|
||||
fi
|
||||
|
||||
run_hook post-install "$pkg_name" "$sys_db/$pkg_name"
|
||||
|
Loading…
Reference in New Issue
Block a user