summaryrefslogtreecommitdiffstats
path: root/mdkapplet-restricted-helper
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 /mdkapplet-restricted-helper
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
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 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");
}