/[packages]/updates/1/webmin/current/SOURCES/webmin-1.610-urpmi.patch
ViewVC logotype

Contents of /updates/1/webmin/current/SOURCES/webmin-1.610-urpmi.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 330413 - (show annotations) (download)
Thu Dec 13 20:00:40 2012 UTC (11 years, 4 months ago) by luigiwalser
File size: 940 byte(s)
more fixes for adapting to mageia (urpmi usage, desktop file, module configs)
1 --- software/urpmi-lib.pl~ 2012-11-14 20:27:38.000000000 -0500
2 +++ software/urpmi-lib.pl 2012-12-13 13:51:13.115131392 -0500
3 @@ -12,7 +12,7 @@
4 {
5 local $update = $_[0] || $in{'update'};
6 local (@rv, @newpacks);
7 -local $cmd = "urpmi --force --auto --media main";
8 +local $cmd = "urpmi --force --auto";
9 print "<b>",&text('urpmi_install', "<tt>$cmd $update</tt>"),"</b><p>\n";
10 print "<pre>";
11 &additional_log('exec', undef, "$cmd $update");
12 @@ -57,10 +57,11 @@
13 sub update_system_resolve
14 {
15 local ($name) = @_;
16 -return $name eq "apache" ? "apache2" :
17 - $name eq "dhcpd" ? "dhcp-server" :
18 - $name eq "mysql" ? "MySQL MySQL-client MySQL-common" :
19 +return $name eq "dhcpd" ? "dhcp-server" :
20 + $name eq "mysql" ? "mariadb" :
21 + $name eq "openldap" ? "openldap openldap-servers" :
22 $name eq "postgresql" ? "postgresql postgresql-server" :
23 + $name eq "samba" ? "samba-client samba-server" :
24 $name;
25 }
26

  ViewVC Help
Powered by ViewVC 1.1.30