/[packages]/updates/1/webmin/current/SOURCES/webmin-1.060-mysql-fix-installing-missing-packages.patch
ViewVC logotype

Contents of /updates/1/webmin/current/SOURCES/webmin-1.060-mysql-fix-installing-missing-packages.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 101464 - (show annotations) (download)
Wed Jun 1 19:01:05 2011 UTC (12 years, 10 months ago) by schedbot
File size: 1182 byte(s)
SILENT: branch release 1
1 diff -p -up webmin-1.441/mysql/index.cgi.mysql webmin-1.441/mysql/index.cgi
2 --- webmin-1.441/mysql/index.cgi.mysql 2009-04-09 16:28:14.000000000 -0300
3 +++ webmin-1.441/mysql/index.cgi 2009-04-09 16:29:26.000000000 -0300
4 @@ -260,15 +260,15 @@ else {
5 # Check if the optional perl modules are installed
6 if (foreign_available("cpan")) {
7 eval "use DBI";
8 - push(@needs, "DBI") if ($@);
9 + push(@needs, "perl-DBI") if ($@);
10 $nodbi++ if ($@);
11 eval "use DBD::mysql";
12 - push(@needs, "DBD::mysql") if ($@);
13 + push(@needs, "perl-Mysql") if ($@);
14 if (@needs) {
15 - $needs = &urlize(join(" ", @needs));
16 - print "<center><b>",&text(@needs == 2 ? 'index_nomods' : 'index_nomod', @needs,
17 - "/cpan/download.cgi?source=3&cpan=$needs&mode=2&return=/$module_name/&returndesc=".&urlize($text{'index_return'})),
18 - "</b></center>\n";
19 + print "<center><b>Warning, the following package(s) are missing from your system\n".
20 + "for reliable access to your MySQL database: <tt>@needs</tt>. To install them,\n".
21 + "you may use the graphical program <tt>rpmdrake</tt> or the commandline program\n".
22 + "<tt>urpmi</tt>. Then, re-load this page.\n";
23 }
24 }
25 }

  ViewVC Help
Powered by ViewVC 1.1.30