diff -r a3431f4e2f40 -r f6c9a5df80fb server/__init__.py --- a/server/__init__.py Tue Sep 29 15:58:44 2009 +0200 +++ b/server/__init__.py Wed Sep 30 18:57:42 2009 +0200 @@ -147,7 +147,7 @@ for fpath in glob(join(CW_SOFTWARE_ROOT, 'schemas', '*.sql.%s' % driver)): print '-> installing', fpath sqlexec(open(fpath).read(), execute, False, delimiter=';;') - for directory in config.cubes_path(): + for directory in reversed(config.cubes_path()): for fpath in glob(join(directory, 'schema', '*.sql.%s' % driver)): print '-> installing', fpath sqlexec(open(fpath).read(), execute, False, delimiter=';;')