aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-10-04 12:41:49 +0000
committerThierry Vignaud <tv@mandriva.org>2007-10-04 12:41:49 +0000
commit10c9c80ceda80ae6728f579c482af3ca4d731ec1 (patch)
treed35c469c219a5ab214b9ee4d49777a5045d90da9
parent690080ae0259e341eca52e3ecc2823cb387c2834 (diff)
downloadrpmdrake-10c9c80ceda80ae6728f579c482af3ca4d731ec1.tar
rpmdrake-10c9c80ceda80ae6728f579c482af3ca4d731ec1.tar.gz
rpmdrake-10c9c80ceda80ae6728f579c482af3ca4d731ec1.tar.bz2
rpmdrake-10c9c80ceda80ae6728f579c482af3ca4d731ec1.tar.xz
rpmdrake-10c9c80ceda80ae6728f579c482af3ca4d731ec1.zip
(easy_add_callback) ask urpmi to only install update media if asked by
user (needs urpmi-4.10.14)
-rw-r--r--Rpmdrake/edit_urpm_sources.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm
index 4c01b194..d4d5d473 100644
--- a/Rpmdrake/edit_urpm_sources.pm
+++ b/Rpmdrake/edit_urpm_sources.pm
@@ -153,6 +153,7 @@ Is it ok to continue?", $distro),
{ nolock => 1, distrib => 1 },
$medium_name, $url, probe_with => 'synthesis', initial_number => $initial_number,
usedistrib => 1,
+ if_($is_update, only_updates => 1),
);
remove_wait_msg($wait);
return 1;