[wpkg-users] Virtual package?

Marco Gaiarin gaio at sv.lnf.it
Mon Nov 3 12:07:14 CET 2014


Mandi! Stefan Pendl
  In chel di` si favelave...

> I do have "virtual" packages that have execute set to once, they
> only contain include directives.

Ok.


> Some examples below.

Ok, but all checks are enabled in an <include /> stanza?! EG, i can do
something like that?

  <package
	id="libreoffice" 
	name="LibreOffice Virtual Package" 
	revision="20141103:1"
	reboot="false" 
	priority="25">		<!-- Lower the priority (default 50) so they get installed after the real LO. -->

	<!-- be sure we include LO 'still' if no one are installed -->
	<include package-id="libreoffice-still">
	  <condition>
            <check type="logical" condition="not">
	      <check type="uninstall" condition="exists" path="LibreOffice \d\.\d\.\d\.\d" />
	    </check>
	  </condition>
	</include>
  </package>

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                    http://www.sv.lnf.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
	   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



More information about the wpkg-users mailing list