pkgpostinst
Pkgpostinst is a post-installation script used in some software packaging systems. It is intended to be run after a package is installed or upgraded to finish configuration and initialization tasks that cannot be completed during the package build.
Typical responsibilities of a pkgpostinst script include creating or modifying configuration files, initializing databases or caches,
Invocation and scope vary by packaging system. The script is usually packaged with the software and executed
Best practices for implementing a pkgpostinst script include keeping the script small and delegating complex tasks
Relation to other concepts: pkgpostinst is analogous to postinst scripts in Debian-style packaging, and similar post-install