summaryrefslogtreecommitdiffstats
path: root/pykolab/setup/setup_mysql.py
diff options
context:
space:
mode:
Diffstat (limited to 'pykolab/setup/setup_mysql.py')
-rw-r--r--pykolab/setup/setup_mysql.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pykolab/setup/setup_mysql.py b/pykolab/setup/setup_mysql.py
index 36a0bec..586e134 100644
--- a/pykolab/setup/setup_mysql.py
+++ b/pykolab/setup/setup_mysql.py
@@ -64,10 +64,10 @@ def execute(*args, **kw):
}
answer = 0
- if os.path.exists('/var/lib/mysql/mysql.sock') or \ # Regular old-fashioned Enterprise Linux
- os.path.exists('/var/run/mysqld/mysqld.sock') or \ # Debian
- os.path.exists('/var/run/mysql/mysql.sock') or \ # (open)SUSE
- os.path.exists('/var/run/mysqld/mysqld.pid'): # "Unbreakable" Linux from Oracle
+ if os.path.exists('/var/lib/mysql/mysql.sock') or \
+ os.path.exists('/var/run/mysqld/mysqld.sock') or \
+ os.path.exists('/var/run/mysql/mysql.sock') or \
+ os.path.exists('/var/run/mysqld/mysqld.pid'):
answer = utils.ask_menu(_("What MySQL server are we setting up?"), options)
if answer == "1" or answer == 1: