From fa00c3303d7a2be45e7e84108092c2125abd0e26 Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 12 Jun 2008 13:02:23 +0000 Subject: [PATCH] warn if libdbi is not found by "locate" git-svn-id: svn://svn.open-ils.org/ILS/trunk@9816 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/support-scripts/settings-tester.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Open-ILS/src/support-scripts/settings-tester.pl b/Open-ILS/src/support-scripts/settings-tester.pl index 342ff4ff2c..5b51713a01 100755 --- a/Open-ILS/src/support-scripts/settings-tester.pl +++ b/Open-ILS/src/support-scripts/settings-tester.pl @@ -243,6 +243,11 @@ sub test_db_connect { 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. -- 2.43.2