[wpkg-users] Question: chained removals ?

Andy Welch Andy.Welch at blackbay.com
Fri Oct 15 04:00:08 CEST 2010


Hi all

 

If p_1 is uninstalled, can I cause the prerequisistes p_2 and p_3 to be
uninstalled also if no other package depends on them?

 

  <package id="p_1">

 

    <depends package-id="p_2" />

    <depends package-id="p_3" />

 

    <install cmd="blah blah" />

    <remove cmd="moo moo" />

 

  </package>

 

How about the following:-

 

<package id="p_1">

    <depends package-id="p_2" chainremove="yes" />

    <depends package-id="p_3" chainremove="yes" />

 

    <install cmd="blah blah" />

 

    <remove cmd="moo moo" />

  </package>

 

 

This would require the application being 'aware' that packages "p_2" and
"p_3" are no longer prerequisites for any other package - I'll take a
look at wpkg.js to see if this is supported.

 

Is there any other way to achieve this?  

 

Thx

 

Andy Welch.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20101015/75446a9d/attachment-0001.html>


More information about the wpkg-users mailing list