summaryrefslogtreecommitdiffstats
path: root/pykolab
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-02-28 13:15:03 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-02-28 13:15:30 +0100
commite77da88bb8aa7c0e8564fb0bf43cd8d1fed7fded (patch)
tree3dd2b8ca08e4015b007a925e2b77df0979513e24 /pykolab
parent1284357760d54029d36bb650e8c7837763e8f1d9 (diff)
downloadpykolab-e77da88bb8aa7c0e8564fb0bf43cd8d1fed7fded.tar.gz
Allow directories and files sought to be found in levels deeper than
just /use/share/doc/ (#2871)
Diffstat (limited to 'pykolab')
-rw-r--r--pykolab/setup/setup_roundcube.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/setup/setup_roundcube.py b/pykolab/setup/setup_roundcube.py
index e375f9b..4e14ee2 100644
--- a/pykolab/setup/setup_roundcube.py
+++ b/pykolab/setup/setup_roundcube.py
@@ -139,7 +139,7 @@ def execute(*args, **kw):
for root, directories, filenames in os.walk('/usr/share/doc/'):
for directory in directories:
if directory.startswith("roundcubemail"):
- for root, directories, filenames in os.walk(os.path.join('/usr/share/doc/', directory)):
+ for root, directories, filenames in os.walk(os.path.join(root, directory)):
for filename in filenames:
if filename.startswith('mysql.initial') and filename.endswith('.sql'):
schema_filepath = os.path.join(root,filename)