From 419a2d5ee0a521fedf294f4d01bbc14b94c1fed2 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:10:46 +0200
Subject: [PATCH] memcached : add check part, remove version for
 slapos.cookbook

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

diff --git a/software/memcached/software.cfg b/software/memcached/software.cfg
index a6d08ce5f..8073be210 100644
--- a/software/memcached/software.cfg
+++ b/software/memcached/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
@@ -78,8 +79,13 @@ 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]
-slapos.cookbook = 0.3
 slapos.core = 0.2
 
 collective.recipe.template = 1.8
-- 
2.30.9