summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimotheus Pokorra <tp@tbits.net>2015-08-21 11:18:02 +0200
committerTimotheus Pokorra <tp@tbits.net>2015-08-21 11:18:02 +0200
commit0da5b83cb942ffd4469545db91c3cc8f115b6c66 (patch)
treefea5968a5bb0342bd75f4f73e9d61060147d4991
parente4cad38bf74edeef502299a864038d8b7e6a7516 (diff)
downloadpykolab-0da5b83cb942ffd4469545db91c3cc8f115b6c66.tar.gz
setup roundcube on Debian: fix the search for the webserver group
-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 14e7ea9..22eb9ab 100644
--- a/pykolab/setup/setup_roundcube.py
+++ b/pykolab/setup/setup_roundcube.py
@@ -241,7 +241,7 @@ password='%s'
for webserver_group in [ 'apache', 'www-data' ]:
try:
- (a,b,webserver_gid,c) = grp.getgrnam('apache')
+ (a,b,webserver_gid,c) = grp.getgrnam(webserver_group)
break
except Exception, errmsg:
pass