This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: [ITP] chicken-4.9.0.1
- From: Christian Kellermann <ckeen at pestilenz dot org>
- To: cygwin-apps at cygwin dot com
- Date: Thu, 11 Dec 2014 11:35:07 +0100
- Subject: Re: [ITP] chicken-4.9.0.1
- Authentication-results: sourceware.org; auth=none
- References: <20141210112536 dot GR12089 at pestilenz dot org> <20141211091615 dot GD12089 at pestilenz dot org> <20141211101438 dot GB2972 at calimero dot vinschen dot de>
* Corinna Vinschen <corinna-cygwin@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.