Skip to content

Commit 0c6d3eb

Browse files
committed
there is no such distribution named default, lets default to Volto
1 parent 28f080d commit 0c6d3eb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/mxmake/templates.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,8 @@ def template_variables(self) -> typing.Dict[str, typing.Any]:
352352
mxmake_templates.append(template)
353353
if domain.fqn == "applications.plone":
354354
template = dict(
355-
name="plone-site", settings=dict(distribution="default")
355+
name="plone-site",
356+
settings=dict(distribution="volto", extension_ids="plone.volto:default"),
356357
)
357358
mxmake_templates.append(template)
358359
return dict(mxmake_templates=mxmake_templates, mxmake_env=mxmake_env)
@@ -522,8 +523,6 @@ def template_variables(self):
522523
site["extension_ids"] = [
523524
eid.strip() for eid in site["extension_ids"].split("\n") if eid.strip()
524525
]
525-
if not site["extension_ids"]:
526-
site["extension_ids"] = ["plone.volto:default"]
527526
return vars
528527

529528

src/mxmake/topics/applications/zope.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,4 @@ zope-purge: zope-dirty
120120
INSTALL_TARGETS+=zope-instance
121121
DIRTY_TARGETS+=zope-dirty
122122
CLEAN_TARGETS+=zope-clean
123+
PURGE_TARGETS+=zope-purge

0 commit comments

Comments
 (0)