what executes setup.pkg_name script?
by ardya from LinuxQuestions.org on (#52B5K)
Hi,
I'm trying to understand some finer points of pkg creation and have come across the build for postgresql on SBo.
Included in that build is a file called setup.postgresql.
I don't see it being called by doinst.sh.
Are these setup.* scripts exec'd as part of install?
I did an installpkg of the built postgresql pkg I created, but apparently the setup.postgresql script wasn't executed.
What purpose do these setup.* scripts serve in the pkg?
Thanks!


I'm trying to understand some finer points of pkg creation and have come across the build for postgresql on SBo.
Included in that build is a file called setup.postgresql.
I don't see it being called by doinst.sh.
Are these setup.* scripts exec'd as part of install?
I did an installpkg of the built postgresql pkg I created, but apparently the setup.postgresql script wasn't executed.
What purpose do these setup.* scripts serve in the pkg?
Thanks!