[pacman-dev] add message() function call for use in *.install/.PKGINFO files
Judd Vinet
jvinet at zeroflux.org
Wed May 31 17:08:11 EDT 2006
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
More information about the pacman-dev
mailing list