summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rwxr-xr-xmdkapplet-restricted-helper2
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index f55265e1..b5845009 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+- mdkapplet-restricted-helper
+ o use 'always' policy for downloading XML metadata so that non root
+ users can read themx
+
Version 2.71.3 - 9 December 2008
- mdkapplet-restricted-helper
diff --git a/mdkapplet-restricted-helper b/mdkapplet-restricted-helper
index 889bbe18..c1d8a43d 100755
--- a/mdkapplet-restricted-helper
+++ b/mdkapplet-restricted-helper
@@ -166,7 +166,7 @@ sub adding_media_failed {
sub actually_add_restricted_medium {
my ($ref, $password, $arch) = @_;
- my @options = ({ sensitive_arguments => 1 }, 'urpmi.addmedia');
+ my @options = ({ sensitive_arguments => 1 }, 'urpmi.addmedia', '--xml-info', 'always');
my $uri = "https://" . uri_escape($ref->{data}{email}) . ":$password\@dl.mandriva.com/rpm/comm/2009.0/";
run_program::raw(@options, "Restricted $arch " . int(rand(100000)), "$uri$arch") or return 0;
run_program::raw(@options, '--update', "Restricted Updates $arch " . int(rand(100000)), "${uri}updates/$arch");