server/serverctl.py
changeset 3369 7b88d12b4ee2
parent 3185 bd0126d17e83
parent 3316 c4c07aab1c39
child 3589 a5432f99f2d9
--- a/server/serverctl.py	Thu Sep 17 15:52:46 2009 +0200
+++ b/server/serverctl.py	Tue Sep 22 12:11:12 2009 +0200
@@ -312,7 +312,7 @@
         # postgres specific stuff
         if driver == 'postgres':
             # install plpythonu/plpgsql language if not installed by the cube
-            langs = ('plpgsql',) if sys.platform == 'win32' else ('plpythonu', 'plpgsql') 
+            langs = sys.platform == 'win32' and ('plpgsql',) or ('plpythonu', 'plpgsql')
             for extlang in langs:
                 helper.create_language(cursor, extlang)
         cursor.close()