]> git.decadent.org.uk Git - dak.git/blobdiff - katie
Fix database name to be a config option. Fix debian/rules typo. [Ryan Murray]
[dak.git] / katie
diff --git a/katie b/katie
index 3162b31eb54668672e1ce9606fbae7c3dbc0f476..f9a2242cdcad5eb815c0dcdd0fbaab123fe5f2a1 100755 (executable)
--- a/katie
+++ b/katie
@@ -2,7 +2,7 @@
 
 # Installs Debian packaes
 # Copyright (C) 2000, 2001  James Troup <james@nocrew.org>
-# $Id: katie,v 1.31 2001-03-14 05:12:53 troup Exp $
+# $Id: katie,v 1.32 2001-03-20 00:28:11 troup Exp $
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -1275,7 +1275,7 @@ def main():
         Cnf["Dinstall::Options::Ack-New"] = ""
         postgresql_user = Cnf["DB::ROUser"];
 
-    projectB = pg.connect('projectb', Cnf["DB::Host"], int(Cnf["DB::Port"]), None, None, postgresql_user);
+    projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"]), None, None, postgresql_user);
 
     db_access.init(Cnf, projectB);