diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-04-22 14:26:55 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-04-22 14:26:55 +0000 |
commit | f6a192e646a6bf475cf7378d8d3ddccdb42c0886 (patch) | |
tree | 112023d0d738ebfff23962410f3052b06b72e329 /perl-install/install/pkgs.pm | |
parent | fa655d54cc03f75bdf10b39eac052b2988717db9 (diff) | |
download | drakx-f6a192e646a6bf475cf7378d8d3ddccdb42c0886.tar drakx-f6a192e646a6bf475cf7378d8d3ddccdb42c0886.tar.gz drakx-f6a192e646a6bf475cf7378d8d3ddccdb42c0886.tar.bz2 drakx-f6a192e646a6bf475cf7378d8d3ddccdb42c0886.tar.xz drakx-f6a192e646a6bf475cf7378d8d3ddccdb42c0886.zip |
(empty_packages) use --force like older installer (and drop
--replacepkgs which is implied by force in URPM.xs)
Diffstat (limited to 'perl-install/install/pkgs.pm')
-rw-r--r-- | perl-install/install/pkgs.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm index 2db5d5731..4d72a761e 100644 --- a/perl-install/install/pkgs.pm +++ b/perl-install/install/pkgs.pm @@ -317,7 +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; + $::force = 1; $packages->{options}{ignoresize} = 1; $packages->{options}{'priority-upgrade'}; # prevent priority upgrade # log $trans->add() faillure; FIXME: should we override *urpm::msg::sys_log? |