Commits

Anonymous committed 4224ff9

Create plugins directory entry in `trac.siteconfig` from Windows installer. Closes #3306.

  • Participants
  • Parent commits 537f6b6
  • Branches trunk
  • Tags trac-0.10b1

Comments (0)

Files changed (1)

scripts/trac-postinstall.py

     conf_dir = os.path.join(prefix, 'share', 'trac', 'conf')
     templates_dir = os.path.join(prefix, 'share', 'trac', 'templates')
     htdocs_dir = os.path.join(prefix, 'share', 'trac', 'htdocs')
+    plugins_dir = os.path.join(prefix, 'share', 'trac', 'plugins')
     wiki_dir = os.path.join(prefix, 'share', 'trac', 'wiki-default')
     macros_dir = os.path.join(prefix, 'share', 'trac', 'wiki-macros')
 
 __default_htdocs_dir__ = %(htdocs)r
 __default_wiki_dir__ = %(wiki)r
 __default_macros_dir__ = %(macros)r
+__default_plugins_dir__ = %(plugins)r
 
 """ % {'version': trac.__version__, 'conf': conf_dir,
-       'templates': templates_dir, 'htdocs': htdocs_dir,
-       'wiki': wiki_dir, 'macros': macros_dir})
+       'templates': templates_dir, 'htdocs': htdocs_dir, 'wiki': wiki_dir,
+       'macros': macros_dir, 'plugins': plugins_dir})
     fd.close()
 
     file_created(siteconfig)