Author: poeml Date: 2009-02-02 17:07:06 -0700 (Mon, 02 Feb 2009) New Revision: 6325 Modified: trunk/tools/download-redirector-v2/scanner/scanner.pl Log: scanner: allow to use a less idiosyncratic name than 'Pg' in the config, when working with a PostgreSQL database Modified: trunk/tools/download-redirector-v2/scanner/scanner.pl =================================================================== --- trunk/tools/download-redirector-v2/scanner/scanner.pl 2009-02-02 23:42:38 UTC (rev 6324) +++ trunk/tools/download-redirector-v2/scanner/scanner.pl 2009-02-03 00:07:06 UTC (rev 6325) _at_@ -193,8 +193,9 @@ if $cfg->val($brain_instance, 'dbdriver'); my $db_port = 'not set'; -if($db_driver eq 'Pg') { +if($db_driver eq 'Pg' or $db_driver eq 'postgres' or $db_driver eq 'postgresql') { $db_port = '5432'; + $db_driver = 'Pg'; } elsif($db_driver eq 'mysql') { $db_port = '3306'; _______________________________________________ Opensuse-svn mailing list Opensuse-svn_at_forge.novell.com http://forge.novell.com/mailman/listinfo/opensuse-svn _______________________________________________ mirrorbrain-commits mailing list Note: To remove yourself from this list, send a mail with the content unsubscribe to the address mirrorbrain-commits-request_at_mirrorbrain.orgReceived on Tue Feb 03 2009 - 00:07:44 GMT
This archive was generated by hypermail 2.3.0 : Thu Mar 25 2010 - 19:29:04 GMT