summaryrefslogtreecommitdiffstats
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:53 +0100
commit90d01b8a48d816b06a08b94744972292143dbf17 (patch)
treebcb3ac28cf90acd4af3233bec1b0020a05bf2378
parentc5696ac7753e1a40243b65dac3a96c9b9c8b7af2 (diff)
downloadpykolab-90d01b8a48d816b06a08b94744972292143dbf17.tar.gz
Allow directories and files sought to be found in levels deeper than
just /use/share/doc/ (#2871)
-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)