Mageia Bugzilla – Attachment 3622 Details for
Bug 6061
mgaapplet-upgrade-helper removes nonfree and tainted repo (and so radeon-firmware) when upgrading to next Mageia version
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
subroutine to enable media
any.patch (text/plain), 551 bytes, created by
Derek Jennings
on 2013-03-16 22:47:07 CET
(
hide
)
Description:
subroutine to enable media
Filename:
MIME Type:
Creator:
Derek Jennings
Created:
2013-03-16 22:47:07 CET
Size:
551 bytes
patch
obsolete
>--- any.pm 2013-03-12 08:02:25.000000000 +0000 >+++ any.pm 2013-03-16 14:23:02.000000000 +0000 >@@ -979,6 +979,15 @@ > $val; > } > >+sub urpmi_enable_media { >+ my ($media, $in) = @_; >+ system('urpmi.update', if_($root, "--urpmi-root=$root"), '--no-ignore', "$media Release", "$media Updates"); >+ log::l("URPMI_MEDIA_ENABLED $media"); >+ my $log_file = '/root/drakx/updates.log'; >+ my $val = run_program::rooted($::prefix, $binary, '>>', $log_file, '2>>', $log_file, @options); >+ $val; >+} >+ > sub autologin { > my ($o, $in) = @_;
--- any.pm 2013-03-12 08:02:25.000000000 +0000 +++ any.pm 2013-03-16 14:23:02.000000000 +0000 @@ -979,6 +979,15 @@ $val; } +sub urpmi_enable_media { + my ($media, $in) = @_; + system('urpmi.update', if_($root, "--urpmi-root=$root"), '--no-ignore', "$media Release", "$media Updates"); + log::l("URPMI_MEDIA_ENABLED $media"); + my $log_file = '/root/drakx/updates.log'; + my $val = run_program::rooted($::prefix, $binary, '>>', $log_file, '2>>', $log_file, @options); + $val; +} + sub autologin { my ($o, $in) = @_;
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 6061
:
3075
|
3622
|
3623
|
3876
|
3878
|
3904
|
3914
|
3915
|
3916
|
3935