[wpkg-users] [BUG?] On upgrade old check condition are parsed...

Marco Gaiarin gaio at sv.lnf.it
Fri Nov 26 11:54:48 CET 2010


Mandi! Rainer Meier
  In chel di` si favelave...

> Sure it would. For most users upgrades would be completely skipped all the time
> if WPKG would first use the checks before installation and if they succeed skip
> the update. Most packages simply use a check on uninstall entries which

No, i don't think at skipping upgrades, but:

if (revision changed) {
	if (check condition = true)	# so package installed
		do_upgrade()
	else				# so package not installed
		do_install()		# using new recipe install command
}

This indeed does not cure my ''vlc problem'' (because clearly the
current check condition have to be evaluated, not the new one...) but
permit me to write (at least for me ;) simple recipes.

Thanks.

-- 
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)sv.lnf.it	  tel +39-0434-842711  fax +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