esp-package-manager

What is the runtime environment of the %postinstall item in EPM

According to the EPM documentation it's possible in BSD packages to run a script post-installation. I'd like to invoke a script installed as part of the package, if possible, but to do so I need to know a few things about the runtime: What user will run the script? What environment variables are set when it runs? What is the CWD when t...