diff --git a/buildout-p3.cfg b/buildout-p3.cfg index 2b6daac..560cfd2 100644 --- a/buildout-p3.cfg +++ b/buildout-p3.cfg @@ -14,6 +14,7 @@ parts = zope2 instance zopepy + utilities-patch # Change the number here to change the version of Plone being used extends = @@ -111,3 +112,8 @@ interpreter = zopepy extra-paths = ${zope2:location}/lib/python scripts = zopepy +[utilities-patch] +recipe = collective.recipe.patch +egg = Products.CMFQuickInstallerTool==2.1.7 +patches = utilities.patch + diff --git a/utilities.patch b/utilities.patch new file mode 100644 index 0000000..614d954 --- /dev/null +++ b/utilities.patch @@ -0,0 +1,11 @@ +--- Products/CMFQuickInstallerTool/QuickInstallerTool.py.old ++++ Products/CMFQuickInstallerTool/QuickInstallerTool.py +@@ -640,7 +640,7 @@ + + # only delete everything EXCEPT portalobjects (tools etc) for reinstall + cascade=[c for c in InstalledProduct.default_cascade +- if c != 'portalobjects'] ++ if c not in ('portalobjects', 'utilities',)] + self.uninstallProducts(products, cascade, reinstall=True) + self.installProducts(products, + stoponerror=True,