* Corinna Vinschen <corinna-cyg...@cygwin.com> [141211 11:14]: > This is default behaviour so you should be able to do without the > src_install function. > Ok!
> > 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. What's the preferred way with cygports to add them? Thanks for your patience! Kind regards, Christian -- May you be peaceful, may you live in safety, may you be free from suffering, and may you live with ease.