summaryrefslogtreecommitdiffstats
path: root/mdkapplet-extended-maintenance-helper
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-01-22 08:06:44 +0000
committerThierry Vignaud <tv@mandriva.org>2010-01-22 08:06:44 +0000
commit70b4c5b43887cb3b5bde9325eb8c333f4bd7da5b (patch)
treead5c6b856dc3a28170fbab6e34c8a24859dd2dca /mdkapplet-extended-maintenance-helper
parent67c7dbc22b2cb26adca6168c335a78f9901adfab (diff)
downloadmgaonline-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-xmdkapplet-extended-maintenance-helper4
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});
}