From 9228cb83a6c6e170ab5d24372a6909e1acdc57a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20de=20Saint=20Martin?= <cedric.dsm@tiolive.com>
Date: Wed, 8 Jun 2011 15:08:04 +0200
Subject: [PATCH] Kumofs : add check part, remove version for slapos.cookbook

---
 software/kumofs/software.cfg | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/software/kumofs/software.cfg b/software/kumofs/software.cfg
index 20015fc70..085f155b0 100644
--- a/software/kumofs/software.cfg
+++ b/software/kumofs/software.cfg
@@ -29,6 +29,7 @@ parts +=
   libxslt
   eggs
   instance-recipe-egg
+  checkrecipe
 
 # XXX: Workaround of SlapOS limitation
 # Unzippig of eggs is required, as SlapOS do not yet provide nicely working
@@ -77,12 +78,17 @@ stop-on-error = true
 command = ${:git} clone ${:git_param} http://git.erp5.org/repos/slapos.git ${:location} || exit 1;
 update-command = cd ${:location} && ${git:location}/bin/git pull --quiet
 
+[checkrecipe]
+recipe = plone.recipe.command
+stop-on-error = true
+update-command = ${:command}
+command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
+
 [versions]
 erp5.recipe.cmmiforcei686 = 0.1.1
 hexagonit.recipe.cmmi = 1.5.0
 hexagonit.recipe.download = 1.5.0
 
-slapos.cookbook = 0.3
 slapos.core = 0.2
 collective.recipe.template = 1.8
 netaddr = 0.7.5
-- 
2.30.9