[wpkg-users] [Bug 127] wpkg not checking local wpkg.xml file for installed packages

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Mon Jul 28 20:14:37 CEST 2008


http://bugzilla.wpkg.org/show_bug.cgi?id=127


Rainer Meier <r.meier at wpkg.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.meier at wpkg.org




--- Comment #1 from Rainer Meier <r.meier at wpkg.org>  2008-07-28 20:14:17 ---
Hi,

Well, I think this has been discussed on the mailing list already.

See <http://lists.wpkg.org/pipermail/wpkg-users/2008-May/003417.html>

A fix will be included in the upcoming WPKG 1.1 pre-release. If you like to try
it locally change the following line:

[...]
} else {
        // in case the no execution attribute is defined
        // ckeck real package state
        if (isInstalled(packageNode)) {
                dinfo(packageMessage + "Already installed. Skipping.");
                bypass = true;
                success = true;
                installType = typeUpgrade;
[...]
to
[...]
} else {
        // in case the no execution attribute is defined
        // ckeck real package state
        if (isInstalled(installedPackage)) {
                dinfo(packageMessage + "Already installed. Skipping.");
                bypass = true;
                success = true;
                installType = typeUpgrade;
[...]

Somewhere at line 2906 (WPKG 1.1.0-M6).

This will make sure that the checks are not taken from the (probably changed)
server side version of the package, but instead from the local wpkg.xml.

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.



More information about the wpkg-users mailing list