[open-ils-commits] r9816 - trunk/Open-ILS/src/support-scripts
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jun 12 09:02:24 EDT 2008
Author: erickson
Date: 2008-06-12 09:02:23 -0400 (Thu, 12 Jun 2008)
New Revision: 9816
Modified:
trunk/Open-ILS/src/support-scripts/settings-tester.pl
Log:
warn if libdbi is not found by "locate"
Modified: trunk/Open-ILS/src/support-scripts/settings-tester.pl
===================================================================
--- trunk/Open-ILS/src/support-scripts/settings-tester.pl 2008-06-11 16:13:11 UTC (rev 9815)
+++ trunk/Open-ILS/src/support-scripts/settings-tester.pl 2008-06-12 13:02:23 UTC (rev 9816)
@@ -243,6 +243,11 @@
sub check_libdbd {
my $results = '';
my @location = `locate libdbdpgsql.so | grep -v home | grep -v .libs`; # simple(ton) attempt to filter out build versions
+ unless(@location) {
+ my $res = "Libdbi postgres driver not found\n";
+ print $res;
+ return $res;
+ }
if (scalar(@location) > 1) {
my $res = "Found more than one location for libdbdpgsql.so.
More information about the open-ils-commits
mailing list