From a1a34a5f95e77a8c02dabe45b626f962eae751e9 Mon Sep 17 00:00:00 2001
From: Guillaume Michon <guillaume@nexedi.com>
Date: Fri, 18 Jun 2004 08:18:14 +0000
Subject: [PATCH] Added 'images' filesystem view in portal_skins during ERP5
 install

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1039 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/ERP5Site.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/product/ERP5/ERP5Site.py b/product/ERP5/ERP5Site.py
index 599fb048f7..ccab0d3cd0 100755
--- a/product/ERP5/ERP5Site.py
+++ b/product/ERP5/ERP5Site.py
@@ -27,6 +27,7 @@ from Products.ERP5Type.Document import addFolder
 from Acquisition import aq_base, aq_parent, aq_inner, aq_acquire
 import ERP5Globals
 from Products.ERP5Type.Cache import CachingMethod
+from os import path
 
 from zLOG import LOG
 
@@ -385,6 +386,7 @@ class ERP5Generator(PortalGenerator):
         addDirectoryViews(ps, 'skins', globals())
         addDirectoryViews(ps, 'skins', cmfdefault_globals)
         addDirectoryViews(ps, 'skins', cmfactivity_globals)
+        addDirectoryViews(ps, path.join('skins','pro'), globals())
         ps.manage_addProduct['OFSP'].manage_addFolder(id='external_method')
         ps.manage_addProduct['OFSP'].manage_addFolder(id='local_pro')
         ps.manage_addProduct['OFSP'].manage_addFolder(id='local_erp5')
@@ -395,7 +397,7 @@ class ERP5Generator(PortalGenerator):
         ps.addSkinSelection('ERP5', 'local_pro, local_erp5, local_list_method, '
                                   + 'external_method, local_trade, local_mrp, pro, erp5, activity, '
                                   + 'local_manufacturing, zpt_topic, zpt_content, zpt_generic,'
-                                  + 'zpt_control, topic, content, generic, control, Images',
+                                  + 'zpt_control, topic, content, generic, control, images',
                             make_default=1)
         p.setupCurrentSkin()
 
-- 
2.30.9