summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-12-09 19:19:55 +0000
committerThierry Vignaud <tv@mandriva.org>2008-12-09 19:19:55 +0000
commit463ef39467d7206975fed3283e887b60db9b4766 (patch)
tree9b0eafade0a6552d32cef827ff2939b1e572cc89
parent2e4c60da8ceab923977e716af1d79be94e91aa37 (diff)
downloadmgaonline-463ef39467d7206975fed3283e887b60db9b4766.tar
mgaonline-463ef39467d7206975fed3283e887b60db9b4766.tar.gz
mgaonline-463ef39467d7206975fed3283e887b60db9b4766.tar.bz2
mgaonline-463ef39467d7206975fed3283e887b60db9b4766.tar.xz
mgaonline-463ef39467d7206975fed3283e887b60db9b4766.zip
(actually_add_restricted_medium) add arch in media names
-rw-r--r--NEWS3
-rwxr-xr-xmdkapplet-restricted-helper4
2 files changed, 5 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 6de28673..d8249914 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- mdkapplet-restricted-helper
+ o add arch in media names
+
Version 2.71.2 - 9 December 2008
- mdkapplet-restricted-helper
diff --git a/mdkapplet-restricted-helper b/mdkapplet-restricted-helper
index 153feba9..889bbe18 100755
--- a/mdkapplet-restricted-helper
+++ b/mdkapplet-restricted-helper
@@ -168,6 +168,6 @@ sub actually_add_restricted_medium {
my ($ref, $password, $arch) = @_;
my @options = ({ sensitive_arguments => 1 }, 'urpmi.addmedia');
my $uri = "https://" . uri_escape($ref->{data}{email}) . ":$password\@dl.mandriva.com/rpm/comm/2009.0/";
- run_program::raw(@options, 'Restricted ' . int(rand(100000)), "$uri$arch") or return 0;
- run_program::raw(@options, '--update', 'Restricted Updates ' . int(rand(100000)), "${uri}updates/$arch");
+ 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");
}