From 0da12d36f743a7e2a4f1378f372a44ec15470edc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Wed, 10 Nov 2010 15:14:10 +0000
Subject: [PATCH]  - differentiate install from update

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40178 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 buildout/software-profiles/erp5-2.12.cfg | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/buildout/software-profiles/erp5-2.12.cfg b/buildout/software-profiles/erp5-2.12.cfg
index 1ab7fdeecb..536aa2db82 100644
--- a/buildout/software-profiles/erp5-2.12.cfg
+++ b/buildout/software-profiles/erp5-2.12.cfg
@@ -70,11 +70,14 @@ rpath =
 recipe = plone.recipe.command
 svn_param =--trust-server-cert --non-interactive
 location = ${buildout:parts-directory}/${:_buildout_section_name_}
+stop-on-error = true
 command =
   ${subversion:location}/bin/svn checkout ${:svn_param} https://svn.plone.org/svn/collective/ExtFile/trunk ${:location}/ExtFile
   ${git:location}/bin/git clone git://git.hforge.org/Localizer.git ${:location}/Localizer
-stop-on-error = true
-update-command = ${:command}
+update-command =
+  ${subversion:location}/bin/svn up ${:svn_param} ${:location}/ExtFile
+  cd ${:location}/Localizer
+  ${git:location}/bin/git pull
 
 [products]
 recipe = plone.recipe.command
-- 
2.30.9