forked from kiss-community/kiss
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
|
trap pkg_clean EXIT INT
|
||||||
|
|
||||||
if [ -x "$sys_db/$pkg_name/post-install" ]; then
|
if [ -x "$sys_db/$pkg_name/post-install" ]; then
|
||||||
{
|
log "$pkg_name" "Running post-install hook"; {
|
||||||
log "$pkg_name" "post-install log"
|
log "$pkg_name" "post-install log"
|
||||||
"$sys_db/$pkg_name/post-install"
|
"$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
|
fi
|
||||||
|
|
||||||
run_hook post-install "$pkg_name" "$sys_db/$pkg_name"
|
run_hook post-install "$pkg_name" "$sys_db/$pkg_name"
|
||||||
|
Loading…
Reference in New Issue
Block a user