From 9c2dcca849fb7df2bd328e5a4a801f213c8b821f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Thu, 5 Mar 2020 04:18:50 +0100
Subject: [PATCH] stack/erp5: adjust aspell usage

We now need to refer to the part where the dictionnary was installed.
---
 stack/erp5/buildout.cfg | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/stack/erp5/buildout.cfg b/stack/erp5/buildout.cfg
index ea7af63266..2129b2c8a0 100644
--- a/stack/erp5/buildout.cfg
+++ b/stack/erp5/buildout.cfg
@@ -59,7 +59,6 @@ parts +=
   erp5-util-develop
   slapos-cookbook
   rdiff-backup
-  aspell-en-dictionary
   mroonga-mariadb
   tesseract
   tesseract-eng-traineddata
@@ -239,7 +238,7 @@ context =
 [template-zope]
 <= download-base
 link-binary =
-  ${aspell:location}/bin/aspell
+  ${aspell-en-dictionary:bin-aspell}
   ${dmtx-utils:location}/bin/dmtxwrite
   ${git:location}/bin/git
   ${graphviz:location}/bin/dot
-- 
2.30.9