Sophie

Sophie

distrib > Mandriva > 2008.0 > x86_64 > by-pkgid > 467d033e9b263674899f617d83a928f3 > files > 21

webmin-1.360-2.2mdv2008.0.src.rpm

--- ./postgresql/index.cgi.gege	2004-03-13 11:11:56.000000000 +0100
+++ ./postgresql/index.cgi	2004-03-13 12:18:41.085485265 +0100
@@ -171,15 +171,15 @@
 	&read_acl(\%acl, undef);
 	if ($acl{$base_remote_user, 'cpan'}) {
 		eval "use DBI";
-		push(@needs, "DBI") if ($@);
+		push(@needs, "perl-DBI") if ($@);
 		$nodbi++ if ($@);
 		eval "use DBD::Pg";
-		push(@needs, "DBD::Pg") if ($@);
+		push(@needs, "perl-DBD-Pg") if ($@);
 		if (@needs) {
-			$needs = &urlize(join(" ", @needs));
-			print "<center><b>",&text(@needs == 2 ? 'index_nomods' : 'index_nomod', @needs,
-				"/cpan/download.cgi?source=3&cpan=$needs&mode=2&return=/$module_name/&returndesc=".&urlize($text{'index_return'})),
-				"</b></center>\n";
+		    print "<center><b>Warning, the following package(s) are missing from your system\n".
+		          "for reliable access to your PostgreSQL database: <tt>@needs</tt>. To install them,\n".
+			  "you may use the graphical program <tt>rpmdrake</tt> or the commandline program\n".
+			  "<tt>urpmi</tt>. Then, re-load this page.\n";
 			}
 		}
 	}