summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-08-14 14:02:13 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-08-14 14:02:13 +0200
commitb5f2d9e385cda35c9cb8b068c25d4d330de52ec7 (patch)
tree9450bf258d6517b834b16b68a7ef060d5c0848ee
parentaa266861ccbffb4ab5f9176d4d46b569771c992a (diff)
downloadpykolab-b5f2d9e385cda35c9cb8b068c25d4d330de52ec7.tar.gz
Only break when an actual schema file has been found
-rw-r--r--pykolab/setup/setup_roundcube.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pykolab/setup/setup_roundcube.py b/pykolab/setup/setup_roundcube.py
index 56110cb..259f676 100644
--- a/pykolab/setup/setup_roundcube.py
+++ b/pykolab/setup/setup_roundcube.py
@@ -149,7 +149,8 @@ def execute(*args, **kw):
if not schema_filepath in schema_files:
schema_files.append(schema_filepath)
- break
+ if len(schema_files) > 0:
+ break
break
if os.path.isdir('/usr/share/roundcubemail'):