Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
根据EPM 文档,可以在 BSD 包中运行安装后的脚本。如果可能的话,我想调用作为包的一部分安装的脚本,但要这样做,我需要了解一些关于运行时的事情:
1:根
2 和 3:我不知道,但您可以在包中添加一个安装后脚本,将“env”和“pwd”的输出通过管道传输到 /tmp/env_and_pwd.txt。