1 |
--- webmin-1.610/postgresql/index.cgi.orig 2012-11-14 20:27:53.000000000 -0500 |
2 |
+++ webmin-1.610/postgresql/index.cgi 2012-12-12 15:12:06.131196406 -0500 |
3 |
@@ -281,15 +281,15 @@ |
4 |
# Check if the optional perl modules are installed |
5 |
if (&foreign_available("cpan")) { |
6 |
eval "use DBI"; |
7 |
- push(@needs, "DBI") if ($@); |
8 |
+ push(@needs, "perl-DBI") if ($@); |
9 |
$nodbi++ if ($@); |
10 |
eval "use DBD::Pg"; |
11 |
- push(@needs, "DBD::Pg") if ($@); |
12 |
+ push(@needs, "perl-DBD-Pg") if ($@); |
13 |
if (@needs) { |
14 |
- $needs = &urlize(join(" ", @needs)); |
15 |
- print "<center><b>",&text(@needs == 2 ? 'index_nomods' : 'index_nomod', @needs, |
16 |
- "/cpan/download.cgi?source=3&cpan=$needs&mode=2&return=/$module_name/&returndesc=".&urlize($text{'index_return'})), |
17 |
- "</b></center>\n"; |
18 |
+ print "<center><b>Warning, the following package(s) are missing from your system\n". |
19 |
+ "for reliable access to your PostgreSQL database: <tt>@needs</tt>. To install them,\n". |
20 |
+ "you may use the graphical program <tt>rpmdrake</tt> or the commandline program\n". |
21 |
+ "<tt>urpmi</tt>. Then, re-load this page.\n"; |
22 |
} |
23 |
} |
24 |
|