Commit e7e09769 authored by Nicolas Delaby's avatar Nicolas Delaby

keep compatibility with mandriva 2007.1

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15751 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 47c03628
......@@ -114,15 +114,20 @@ if WIN:
elif os.path.isdir('/usr/lib64/zope/lib/python'):
software_home = '/usr/lib64/zope/lib/python'
zope_home = '/usr/lib64/zope'
else:
elif os.path.isdir('/usr/lib/zope/lib/python'):
software_home = '/usr/lib/zope/lib/python'
zope_home = '/usr/lib/zope'
else:
software_home = '/usr/lib/erp5/lib/python'
zope_home = '/usr/lib/erp5'
# handle 'system global' instance and windows
if WIN:
real_instance_home = os.path.join(erp5_home, 'ERP5Instance')
elif tests_framework_home.startswith('/usr/lib'):
real_instance_home = '/var/lib/zope'
if os.path.isdir('/var/lib/zope'):
real_instance_home = '/var/lib/zope'
else:
real_instance_home = '/var/lib/erp5'
else:
real_instance_home = os.path.sep.join(
tests_framework_home.split(os.path.sep)[:-3])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment