summaryrefslogtreecommitdiffstats
path: root/mdkapplet-restricted-helper
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-12-01 16:00:42 +0000
committerThierry Vignaud <tv@mandriva.org>2008-12-01 16:00:42 +0000
commitc68509a4b15d54e5f49e2d6b0ee88221f32bf8c1 (patch)
tree4209a2c08640ffc81601d870cdce4b7c6fff2ab3 /mdkapplet-restricted-helper
parentc36b5d3ad01499d03dfceb5409bf253df8bfbb3a (diff)
downloadmgaonline-c68509a4b15d54e5f49e2d6b0ee88221f32bf8c1.tar
mgaonline-c68509a4b15d54e5f49e2d6b0ee88221f32bf8c1.tar.gz
mgaonline-c68509a4b15d54e5f49e2d6b0ee88221f32bf8c1.tar.bz2
mgaonline-c68509a4b15d54e5f49e2d6b0ee88221f32bf8c1.tar.xz
mgaonline-c68509a4b15d54e5f49e2d6b0ee88221f32bf8c1.zip
(add_restricted_medium) only tag restricted/updates as 'update', not
restricted/release
Diffstat (limited to 'mdkapplet-restricted-helper')
-rwxr-xr-xmdkapplet-restricted-helper4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdkapplet-restricted-helper b/mdkapplet-restricted-helper
index 198097ae..a33fd568 100755
--- a/mdkapplet-restricted-helper
+++ b/mdkapplet-restricted-helper
@@ -127,10 +127,10 @@ sub add_restricted_medium {
$in->ask_warn(N("Error"), N("An error occurred") . "\n" . $ref->{message});
goto &get_restricted_authentication;
} else {
- my @options = ({ sensitive_arguments => 1 }, 'urpmi.addmedia', '--update');
+ my @options = ({ sensitive_arguments => 1 }, 'urpmi.addmedia');
my $uri = "https://" . uri_escape($ref->{data}{email}) . ":$password\@dl.mandriva.com/rpm/comm/2009.0/";
my $arch = urpm::cfg::get_arch();
run_program::raw(@options, 'Restricted ' . int(rand(100000)), "$uri$arch");
- run_program::raw(@options, 'Restricted Updates ' . int(rand(100000)), "${uri}updates/$arch");
+ run_program::raw(@options, '--update', 'Restricted Updates ' . int(rand(100000)), "${uri}updates/$arch");
}
}