On Dec 11 10:16, Christian Kellermann wrote: > Hi All! > > Based on the feedback of Marco and Corinna, I propose the following > cygport file for the chicken upgrade: > [...] > src_install() { > cd ${B} > cyginstall > }
This is default behaviour so you should be able to do without the src_install function. > [...] > There might be a minor nitpick that I don't know how to get to work: > > I need to update an internal database of available chicken modules. > However due to the internal design, I need to call this either so > that PREFIX equals DESTDIR during make install or the *installed* > binary after unpacking the cygwin package tarball. Is there an > infrastructure for such things? Postinstall scripts. If you install a *.sh script (preferredly called after your package) into /etc/postinstall, it will run after every install and update. If you add a *.sh into /etc/preremove, it will run before every package removal and before every update. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
pgpkCNhbnYbbz.pgp
Description: PGP signature