summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rwxr-xr-xmdkapplet-restricted-helper4
2 files changed, 5 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index fee1f48b..b46cc6d1 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- mdkapplet-restricted-helper
+ o only tag restricted/updates as 'update', not restricted/release
+
Version 2.70 - 1 December 2008
- mdkapplet
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");
}
}