diff options
author | Thierry Vignaud <tv@mandriva.org> | 2010-01-27 14:59:55 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2010-01-27 14:59:55 +0000 |
commit | 28f5b69870ab89a0f3aa13b8276adededbf1535c (patch) | |
tree | 2069dbc704f1469ae896c5e12f62263511a561f5 /mdkapplet-extended-maintenance-helper | |
parent | d63ddd0671d45fbaf80da5952b35644f2b080f58 (diff) | |
download | mgaonline-28f5b69870ab89a0f3aa13b8276adededbf1535c.tar mgaonline-28f5b69870ab89a0f3aa13b8276adededbf1535c.tar.gz mgaonline-28f5b69870ab89a0f3aa13b8276adededbf1535c.tar.bz2 mgaonline-28f5b69870ab89a0f3aa13b8276adededbf1535c.tar.xz mgaonline-28f5b69870ab89a0f3aa13b8276adededbf1535c.zip |
(actually_add_enterprise_update_medium,actually_add_extmaint_medium,actually_add_restricted_medium)
simplify
Diffstat (limited to 'mdkapplet-extended-maintenance-helper')
-rwxr-xr-x | mdkapplet-extended-maintenance-helper | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mdkapplet-extended-maintenance-helper b/mdkapplet-extended-maintenance-helper index 73d6a84a..fdbd3d4c 100755 --- a/mdkapplet-extended-maintenance-helper +++ b/mdkapplet-extended-maintenance-helper @@ -193,6 +193,7 @@ sub actually_add_extmaint_medium { my ($ref, $password, $arch) = @_; $password = uri_escape($password); my @options = ({ sensitive_arguments => 1 }, 'urpmi.addmedia', '--xml-info', 'always', '--update'); - my $uri = "https://" . uri_escape($ref->{data}{email}) . ":$password\@dl.mandriva.com/extended/$version/$arch"; + my $email = uri_escape($ref->{data}{email}); + my $uri = "https://$email:$password\@dl.mandriva.com/extended/$version/$arch"; run_program::raw(@options, "Extanded Maintenance $arch " . int(rand(100000)), ${uri}); } |