source: products/quintagroup.themetemplate/trunk/quintagroup/themetemplate/templates/qplone3_theme/+namespace_package+/+namespace_package2+/+package+/setuphandlers.py_tmpl @ 1005

Last change on this file since 1005 was 1005, checked in by mylan, 15 years ago

Import package: Copied http://svn.quintagroup.com/products/qtheme.template/trunk@2041 + modifications concerning changed package name, namespace

File size: 971 bytes
Line 
1def setupVarious(context):
2
3    # Ordinarily, GenericSetup handlers check for the existence of XML files.
4    # Here, we are not parsing an XML file, but we use this text file as a
5    # flag to check that we actually meant for this import step to be run.
6    # The file is found in profiles/default.
7
8    if context.readDataFile('${namespace_package}.${namespace_package2}.${package}_various.txt') is None:
9        return
10
11    # Add additional setup code here
12
13def uninstallVarious(context):
14
15    # Ordinarily, GenericSetup handlers check for the existence of XML files.
16    # Here, we are not parsing an XML file, but we use this text file as a
17    # flag to check that we actually meant for this import step to be run.
18    # The file is found in profiles/uninstall.
19
20    if context.readDataFile('${namespace_package}.${namespace_package2}.${package}_uninstall.txt') is None:
21        return
22
23    # Add additional uninstall code here
24
25\#\# -*- extra stuff goes here -*-
Note: See TracBrowser for help on using the repository browser.