Show
Ignore:
Timestamp:
12/04/08 17:39:42 (3 years ago)
Author:
trivoallan
Message:

Support for custom trac-admin location.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cleverbox/trunk/cleverbox/scripts/admin.py

    r351 r353  
    138138        collected_infos['general']['apache_group'] = raw_input('Webserver group [%s]> ' % d_gid).strip() or d_gid 
    139139 
     140        d_root_gid = 'www-data' 
     141        collected_infos['general']['root_group'] = raw_input('Root group [%s]> ' % d_root_gid).strip() or d_root_gid 
     142 
    140143        # root user & group 
    141144        # we keep the ssh_user notion for backward compatibility. 
     
    154157        collected_infos['general']['default_profile'] = raw_input('Default configuration profile [%s]> ' % dcp).strip() or dcp 
    155158 
    156         d_lib_dir = '/usr/share/python-support/trac' 
    157         collected_infos['trac']['lib_dir'] = raw_input('Trac libs directory [%s]> ' % d_lib_dir).strip() or d_lib_dir 
    158  
    159         d_assets_dir = '/usr/share/trac' 
    160         collected_infos['trac']['assets_dir'] = raw_input('Trac assets directory [%s]> ' % d_assets_dir).strip() or d_assets_dir 
    161  
    162         d_root_gid = 'www-data' 
    163         collected_infos['general']['root_group'] = raw_input('Root group [%s]> ' % d_root_gid).strip() or d_root_gid 
     159        d_tracadmin_path = '/usr/bin/trac-admin' 
     160        collected_infos['trac']['tracadmin_path'] = raw_input('Path to trac-admin executable [%s]> ' % d_tracadmin_path).strip() or d_tracadmin_path 
    164161 
    165162        # Environment creation