31 May
2006
31 May
'06
9:08 p.m.
On Wed, May 31, 2006 at 01:28:34PM -0700, Jason Chu wrote:
If each scriptlet implicitly included a helper bash script that included a task_message() function, that function could relay the strings through a fifo that libalpm listened to on the other side. libalpm could then feed the strings back to the frontend.
Wouldn't it be better to have pacman execute a script that sets up things like task_message and then executes the install script in the same environment?
That way you could upgrade the task_message() function later, etc.
Yep, exactly. Sorry, that's what I meant by "implicitly." The scriptlets wouldn't have to manually source any helper file, pacman would set that up for them. - J