summaryrefslogtreecommitdiffstats
path: root/mdkapplet-extended-maintenance-helper
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-01-27 15:00:06 +0000
committerThierry Vignaud <tv@mandriva.org>2010-01-27 15:00:06 +0000
commit3ec6a5eca250c09005c371625d206fa40770421f (patch)
tree00d783d8351b2c9d1f11638be35fb7adfe79e4b8 /mdkapplet-extended-maintenance-helper
parent4bbde7988130bf36b0e01f98a2e2b799cd9ffe1a (diff)
downloadmgaonline-3ec6a5eca250c09005c371625d206fa40770421f.tar
mgaonline-3ec6a5eca250c09005c371625d206fa40770421f.tar.gz
mgaonline-3ec6a5eca250c09005c371625d206fa40770421f.tar.bz2
mgaonline-3ec6a5eca250c09005c371625d206fa40770421f.tar.xz
mgaonline-3ec6a5eca250c09005c371625d206fa40770421f.zip
(get_urpmi_options) factorize code
Diffstat (limited to 'mdkapplet-extended-maintenance-helper')
-rwxr-xr-xmdkapplet-extended-maintenance-helper2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkapplet-extended-maintenance-helper b/mdkapplet-extended-maintenance-helper
index 44eb16d9..38aa7ba4 100755
--- a/mdkapplet-extended-maintenance-helper
+++ b/mdkapplet-extended-maintenance-helper
@@ -199,7 +199,7 @@ sub adding_media_failed {
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 @options = (get_urpmi_options(), '--update');
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});