[wpkg-users] How does check work with upgrades please

Rainer Meier r.meier at wpkg.org
Wed Oct 7 19:04:27 CEST 2009


Hi Simon,

simplesi wrote:
> 1st run of package with a simple "does the uninstall exist" check command.
> If check command = false (which it would normally be) then install commands
> invoked and assuming no errors, check is run again and if check=true then
> wpkg assumes package installed.

Exactly. Very simple "check-install-check" approach.
Hmm, I should avoid the term "simple" ;-)


> On subsequent runs (with no revision increment)  - wpkg runs check command
> and if check=false (for some faulty reason) WPKG runs install commands
> again.  If check=true then no install commands run.

Exactly. That's a simple verification of the current machine state.


> Have I got this right so far?

Absolutely.

br,
Rainer



More information about the wpkg-users mailing list