[arch-haskell] Unregistering lots of packages

Abhishek Dasgupta abhidg at gmail.com
Mon Aug 24 04:02:17 EDT 2009


2009/8/23 Magnus Therning <magnus at therning.org>:
> On Sat, Aug 22, 2009 at 11:35 PM, Don Stewart<dons at galois.com> wrote:
>> Unregistering lots of packages is quite slow now, since we run haddock
>> in the unregister script (to recompute the index?).
>>
>> Any thoughts on how to avoid it?
>
> Does pacman support some sort of post-{remove,install} operations?
>
> Everything else I can think of has the feeling of being incredibly
> hack-y or require user interaction.
>

Yes, through the post_install() and post_remove() functions
in the install script (sample at /usr/share/pacman/proto.install)

Abhishek


More information about the arch-haskell mailing list