<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-15">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,<br>
</p>
i would like to use the chaining feature of wpkg, so if i install
package A, package B will also be installed.<br>
This works for me if i run package A for the first time (install
mode). But if i run it again, e.g. after making<br>
some changes and increasing the version number, package B is ignored
and no longer chained to package A<br>
(even if i also change the version number of package B).<br>
Maybe this is because the package is then running in upgrade mode
and i use precheck-upgrade="always" in all of my packages.<br>
Also see here: <a class="moz-txt-link-freetext" href="https://marc.info/?l=wpkg-users&m=132982313114127">https://marc.info/?l=wpkg-users&m=132982313114127</a><br>
In my opinion, the precheck-upgrade option makes absolutely sense,
so i want to keep using this option.<br>
At the same time i want to use the chaining feature, but it seems,
that there is a conflict.<br>
Do i have to change the script code of wpkg or is there any other
solution? Is it a bug or is this behavior wanted?<br>
<br>
<blockquote>wpkg.js, line 5399 to 5482. maybe also line 5680<br>
<br>
this part is to find in "case install", but not in "case upgrade"<br>
// install all chained packages<br>
var chainedSuccess =
installPackageReferences(packageNode, "chained");<br>
if (chainedSuccess) {<br>
info(packageMessage +<br>
"Package and all chained packages are
already installed. Skipping.");<br>
<br>
} else {<br>
info(packageMessage +<br>
"Installed but at least one chained
package is missing.");<br>
}<br>
<br>
</blockquote>
Regards,<br>
Holger<br>
<br>
</body>
</html>