/[packages]/updates/1/webmin/current/SOURCES/webmin-1.310-usermin-fix-installing-missing-package.diff
ViewVC logotype

Contents of /updates/1/webmin/current/SOURCES/webmin-1.310-usermin-fix-installing-missing-package.diff

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: 1985 byte(s)
SILENT: branch release 1
1 --- usermin/index.cgi 2006-11-29 23:36:58.000000000 +0100
2 +++ usermin/index.cgi.oden 2007-01-15 18:39:07.000000000 +0100
3 @@ -9,21 +9,25 @@
4 print "<p>",&text('index_econfig', "<tt>$config{'usermin_dir'}</tt>",
5 "$gconfig{'webprefix'}/config.cgi?$module_name"),"<p>\n";
6 if ($config{'usermin_dir'} eq $standard_usermin_dir) {
7 - local $mode;
8 - if (&foreign_check("software")) {
9 - local %sconfig = &foreign_config("software");
10 - $mode = $sconfig{'package_system'} eq 'rpm' ? 'rpm' :
11 - $sconfig{'package_system'} eq 'dpkg' ? 'deb' :
12 - undef;
13 - }
14 - print "$text{'index_install'}<br>\n";
15 - print "<center><form action=upgrade.cgi method=post enctype=multipart/form-data>\n";
16 - print "<input type=hidden name=install value=1>\n";
17 - print "<input type=hidden name=source value=2>\n";
18 - print "<input type=hidden name=mode value='$mode'>\n";
19 - print "<input type=submit value='",
20 - ($mode ? $text{'index_'.$mode} : $text{'index_tgz'}),"'>\n";
21 - print "</form></center>\n";
22 +# local $mode;
23 +# if (&foreign_check("software")) {
24 +# local %sconfig = &foreign_config("software");
25 +# $mode = $sconfig{'package_system'} eq 'rpm' ? 'rpm' :
26 +# $sconfig{'package_system'} eq 'dpkg' ? 'deb' :
27 +# undef;
28 +# }
29 +# print "$text{'index_install'}<br>\n";
30 +# print "<center><form action=upgrade.cgi method=post enctype=multipart/form-data>\n";
31 +# print "<input type=hidden name=install value=1>\n";
32 +# print "<input type=hidden name=source value=2>\n";
33 +# print "<input type=hidden name=mode value='$mode'>\n";
34 +# print "<input type=submit value='",
35 +# ($mode ? $text{'index_'.$mode} : $text{'index_tgz'}),"'>\n";
36 +# print "</form></center>\n";
37 + print "<p>If Usermin is not yet installed on your system, you may use ".
38 + "the graphical program <tt>rpmdrake</tt> or the commandline program\n".
39 + "<tt>urpmi usermin</tt>. Then, re-load this page.\n";
40 + }
41 }
42 &ui_print_footer("/", $text{'index'});
43 exit;

  ViewVC Help
Powered by ViewVC 1.1.30