Tomasz Chmielewski wrote: > Mark Nienberg schrieb: >> I'm a little unclear on the <upgrade cmd='something'> in packages.xml. >> >> If the package is already installed on a client >> and then the revision number is incremented in the "packages.xml" file, >> will the client always run the upgrade command >> or will it test the check condition and only run the upgrade if the check >> fails? > > Upon execution, wpkg.js checks which packages need to be installed. > Then, it checks in the local database (wpkg.xml) if the package is not > there already, but also, it compares the local versus remote revision. > > If the local revision is lower than the remote, <upgrade > cmd='something'> are started. The upgrade procedure is started even if > all check conditions are met. > > Thank you, I added that to the wiki. Now the obvious follow-up question:
After the upgrade command us run, does wpkg test the check conditions? I'm guessing "No". Mark ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ wpkg-users mailing list wpkg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wpkg-users