[pacman-dev] [PATCH] Add documentation for transaction events

Miklos Vajna vmiklos at frugalware.org
Sat Apr 26 19:21:13 EDT 2008


On Sun, Apr 27, 2008 at 03:19:11AM +0800, Sebastian Nowicki <sebnow at gmail.com> wrote:
> I didn't really know what PM_TRANS_EVT_SCRIPTLET_INFO is for, so I  

the lib can send 3 types of scriptlet events:

2 of them is for "doing something... done."
(PM_TRANS_EVT_SCRIPTLET_START, PM_TRANS_EVT_SCRIPTLET_DONE)

the third is for everything else, that's PM_TRANS_EVT_SCRIPTLET_INFO.

basically if you don't do an "echo START <event desc>" or "echo DONE <ret
code>", then the frontend will get the string via a
PM_TRANS_EVT_SCRIPTLET_INFO.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/pacman-dev/attachments/20080427/f8d7320a/attachment.pgp>


More information about the pacman-dev mailing list