diff options
author | Thierry Vignaud <tv@mandriva.org> | 2010-01-22 08:06:44 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2010-01-22 08:06:44 +0000 |
commit | 70b4c5b43887cb3b5bde9325eb8c333f4bd7da5b (patch) | |
tree | ad5c6b856dc3a28170fbab6e34c8a24859dd2dca /mdkapplet-extended-maintenance-helper | |
parent | 67c7dbc22b2cb26adca6168c335a78f9901adfab (diff) | |
download | mgaonline-70b4c5b43887cb3b5bde9325eb8c333f4bd7da5b.tar mgaonline-70b4c5b43887cb3b5bde9325eb8c333f4bd7da5b.tar.gz mgaonline-70b4c5b43887cb3b5bde9325eb8c333f4bd7da5b.tar.bz2 mgaonline-70b4c5b43887cb3b5bde9325eb8c333f4bd7da5b.tar.xz mgaonline-70b4c5b43887cb3b5bde9325eb8c333f4bd7da5b.zip |
(actually_add_extmaint_medium) regroup options
Diffstat (limited to 'mdkapplet-extended-maintenance-helper')
-rwxr-xr-x | mdkapplet-extended-maintenance-helper | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mdkapplet-extended-maintenance-helper b/mdkapplet-extended-maintenance-helper index 20147a2d..f6e407e4 100755 --- a/mdkapplet-extended-maintenance-helper +++ b/mdkapplet-extended-maintenance-helper @@ -178,7 +178,7 @@ sub adding_media_failed { sub actually_add_extmaint_medium { my ($ref, $password, $arch) = @_; $password = uri_escape($password); - my @options = ({ sensitive_arguments => 1 }, 'urpmi.addmedia', '--xml-info', 'always'); + my @options = ({ sensitive_arguments => 1 }, 'urpmi.addmedia', '--xml-info', 'always', '--update'); my $uri = "https://" . uri_escape($ref->{data}{email}) . ":$password\@dl.mandriva.com/extended/$version/$arch"; - run_program::raw(@options, '--update', "Extanded Maintenance $arch " . int(rand(100000)), ${uri}); + run_program::raw(@options, "Extanded Maintenance $arch " . int(rand(100000)), ${uri}); } |