http://bugzilla.wpkg.org/show_bug.cgi?id=168
Rainer Meier <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution| |FIXED --- Comment #1 from Rainer Meier <[email protected]> 2009-08-23 18:46:18 --- I had a similar change in mind already but never had time to implement it. Actually it's sligthly more complex than I thought about and requries special treatment in some cases. However here's a first implementation: NEW: Added possibility to set execute="changed". This allows you to specify packages which are executed only if there are other packages (with different execute attributes) processed during this WPKG run. If no package is processed an execute="changed" package will not be processed at all. This allows one to define packages for actions which should run on every change (but not each time like execute="always" would). Please note: Due to the nature of these packages they form their own "group" in the WPKG package tree. All execute="changed" packages are executed in the order of priority at the end of the synchronization. Packages with lower priority but other execute attribute values are always executed before execute="changed" packages (even if the execute="changed" package has higher priority). Also note that the package using execute="changed" will be processed like every other package. So if you define checks which yield true, then the package is not installed/upgraded. If you want it to be executed on really each system change, then you should not specify any check. Addresses feature request as proposed in Bug 168. Please download it from here: <http://wpkg.svn.sourceforge.net/viewvc/wpkg/wpkg/stable/1.1/wpkg.js?view=log> It would be nice to get some feedback if it works as expected for you. br, Rainer -- Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. ------------------------------------------------------------------------- wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/ _______________________________________________ wpkg-users mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/wpkg-users
