Merge branch 'master' of github.com:kisslinux/kiss

This commit is contained in:
Dylan Araps 2020-06-21 18:09:09 +03:00
commit 67512f756a

8
kiss
View File

@ -1149,9 +1149,11 @@ pkg_install() {
trap pkg_clean EXIT INT
if [ -x "$sys_db/$pkg_name/post-install" ]; then
log "$pkg_name" "post-install log"
"$sys_db/$pkg_name/post-install"
fi 2>&1 | tee -a "$log_dir/post-install-$time-$pid" >/dev/null
{
log "$pkg_name" "post-install log"
"$sys_db/$pkg_name/post-install"
} 2>&1 | tee -a "$log_dir/post-install-$time-$pid"
fi
run_hook post-install "$pkg_name" "$sys_db/$pkg_name"