Skip to content
Browse files

Added patch to avoid utility wipe on reinstallation

svn path=/collective.transcode.star/trunk/; revision=145370
  • Loading branch information...
1 parent 234964b commit dffb5705fcc68e243d619b21c162feb34281354d clopy committed Oct 1, 2010
Showing with 17 additions and 0 deletions.
  1. +6 −0 buildout-p3.cfg
  2. +11 −0 utilities.patch
View
6 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
+
View
11 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,

0 comments on commit dffb570

Please sign in to comment.
Something went wrong with that request. Please try again.