Commit 47ee4f2e authored by Tatuya Kamada's avatar Tatuya Kamada

Fix zope instance home if it is not given.

parent 6eb4cc84
...@@ -306,7 +306,7 @@ md5sum = d1cf938074b4b2f407122a40991bfef2 ...@@ -306,7 +306,7 @@ md5sum = d1cf938074b4b2f407122a40991bfef2
[template-zope] [template-zope]
< = download-base < = download-base
filename = instance-zope.cfg.in filename = instance-zope.cfg.in
md5sum = c172319dcfa932f82181e3affe807fc4 md5sum = 21842729ad27757c398bc98cf89f2d3c
link-binary = link-binary =
${aspell:location}/bin/aspell ${aspell:location}/bin/aspell
${dmtx-utils:location}/bin/dmtxwrite ${dmtx-utils:location}/bin/dmtxwrite
......
...@@ -46,7 +46,8 @@ ca-crl = ${directory:test-ca-crl} ...@@ -46,7 +46,8 @@ ca-crl = ${directory:test-ca-crl}
recipe = slapos.cookbook:mkdirectory recipe = slapos.cookbook:mkdirectory
bin = ${buildout:directory}/bin bin = ${buildout:directory}/bin
etc = ${buildout:directory}/etc etc = ${buildout:directory}/etc
instance = {{slapparameter_dict.get('instance') or ${:srv}/erp5shared}} {% set zope_instance_home = slapparameter_dict.get('instance') or '${:srv}/erp5shared' %}
instance = {{ zope_instance_home }}
instance-constraint = ${:instance}/Constraint instance-constraint = ${:instance}/Constraint
instance-document = ${:instance}/Document instance-document = ${:instance}/Document
instance-etc = ${:instance}/etc instance-etc = ${:instance}/etc
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment