[wpkg-users] [Bug 188] Support running <remove> action before <upgrade> and <install>
bugzilla-daemon at bugzilla.wpkg.org
bugzilla-daemon at bugzilla.wpkg.org
Tue Sep 13 01:33:00 CEST 2011
http://bugzilla.wpkg.org/show_bug.cgi?id=188
Rainer Meier <r.meier at wpkg.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #7 from Rainer Meier <r.meier at wpkg.org> ---
Enhancement for package command inclusion just checked in:
NEW: Allow command inclusion. Incluiding a complete set of commands is done
as follows:
<install include="remove" />
This would include all <remove /> commands into the install command list.
WPKG also supports mixing of inclusion and real commands. For example:
<upgrade include="remove" />
<upgrade cmd="%SOFTWARE%\system-preparation" />
<upgrade include="install" />
This example would first execute all defined <remove /> commands, then
execute the "system-preparation" binary and after this execute all defined
<install /> commands.
WPKG includes a detection for recursive inclusions. For example:
<install include="upgrade" />
<upgrade include="include" />
<upgrade cmd="%SOFTWARE%\some-binary" />
THis will make WPKG complain about recursion. WPKG will just ignore the
recursive inclusion of <install /> but sill execute "some-binary" during
the install process.
Check the logs for recursion errors (severity: error).
This change is supposed to fix bug 184 (resp. enhancement request).
Thanks to Stefan Pendl for suggesting.
Fixes/implements enhancement request 188 as well. Thanks to Peter Hoeg.
<http://wpkg.svn.sourceforge.net/viewvc/wpkg/wpkg/stable/1.2/>
--
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the wpkg-users
mailing list