summaryrefslogtreecommitdiffstats
path: root/perl-install/install/pkgs.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-04-22 14:08:28 +0000
committerThierry Vignaud <tv@mandriva.org>2009-04-22 14:08:28 +0000
commitfa655d54cc03f75bdf10b39eac052b2988717db9 (patch)
tree0cbdc63c29831a1974183ef2d2795a94380a6aca /perl-install/install/pkgs.pm
parenteebc7c1f986f79de3e953717898d134923c26be6 (diff)
downloaddrakx-fa655d54cc03f75bdf10b39eac052b2988717db9.tar
drakx-fa655d54cc03f75bdf10b39eac052b2988717db9.tar.gz
drakx-fa655d54cc03f75bdf10b39eac052b2988717db9.tar.bz2
drakx-fa655d54cc03f75bdf10b39eac052b2988717db9.tar.xz
drakx-fa655d54cc03f75bdf10b39eac052b2988717db9.zip
(empty_packages) use --replacepkgs like older installer
Diffstat (limited to 'perl-install/install/pkgs.pm')
-rw-r--r--perl-install/install/pkgs.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm
index 74b585210..2db5d5731 100644
--- a/perl-install/install/pkgs.pm
+++ b/perl-install/install/pkgs.pm
@@ -317,6 +317,7 @@ sub empty_packages {
$packages->{keep_unrequested_dependencies} =
defined($o_keep_unrequested_dependencies) ? $o_keep_unrequested_dependencies : 1;
$urpm::args::options{force_transactions} = 1;
+ $urpm::args::options{replacepkgs} = 1;
$packages->{options}{ignoresize} = 1;
$packages->{options}{'priority-upgrade'}; # prevent priority upgrade
# log $trans->add() faillure; FIXME: should we override *urpm::msg::sys_log?