summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-11-20 15:48:29 +0000
committerThierry Vignaud <tv@mandriva.org>2008-11-20 15:48:29 +0000
commitff630c6ac87afbc058c801ea8b866d9806008416 (patch)
tree29cfbbf0b822131bd73997e7e751555a7f938240
parentb159cc0092da21855691ec7c18cf7a6fdb1c9e72 (diff)
downloadmgaonline-ff630c6ac87afbc058c801ea8b866d9806008416.tar
mgaonline-ff630c6ac87afbc058c801ea8b866d9806008416.tar.gz
mgaonline-ff630c6ac87afbc058c801ea8b866d9806008416.tar.bz2
mgaonline-ff630c6ac87afbc058c801ea8b866d9806008416.tar.xz
mgaonline-ff630c6ac87afbc058c801ea8b866d9806008416.zip
(add_restricted_medium) set update flag
-rwxr-xr-xmdkapplet-restricted-helper2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkapplet-restricted-helper b/mdkapplet-restricted-helper
index 0a16331b..3885b22f 100755
--- a/mdkapplet-restricted-helper
+++ b/mdkapplet-restricted-helper
@@ -121,7 +121,7 @@ sub add_restricted_medium {
$in->ask_warn(N("Error"), N("An error occurred") . "\n" . $ref->{message});
goto &get_restricted_authentication;
} else {
- run_program::raw({ sensitive_arguments => 1 }, 'urpmi.addmedia', 'Restricted Update ' . int(rand(100000)),
+ run_program::raw({ sensitive_arguments => 1 }, 'urpmi.addmedia', '--update', 'Restricted Update ' . int(rand(100000)),
"https://" . uri_escape($ref->{data}{email}) . ":$password\@dl.mandriva.com/rpm/comm/2009.0/" . urpm::cfg::get_arch());
}
}