Hi all It would really be helpful to me if I were able to get Faxien to run a post-install shell script on the target system. One thing I would use it for would be to set correct path ownerships and permissions. I know I could use a standalone script to do this, or call faxien from inside an install script, but this just seems more elegant, and in any case, you cannot guarantee that someone won't just use faxien standalone to install a release.
I was thinking of a directory at the same level as _build.cfg and bin, named install, containing scripts. For simplicity, the post-install script could be named a fixed name such as "post-install.sh" or "post- install.cmd". Faxien could use the os:cmd() function to execute it (so it should be OS-agnostic). I'm thinking it should be executed in the code:lib_dir() directory. I realize that this will involve changes to Sinan, too, because Sinan needs to package up the install directory along with config, bin and lib. The same reasoning could apply to pre-install scripts. Do any of you think this is a good idea, or not worth the trouble? Can you see any big holes in the concept? -- You received this message because you are subscribed to the Google Groups "erlware-dev" group. To post to this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/erlware-dev?hl=.
