From f6a192e646a6bf475cf7378d8d3ddccdb42c0886 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 22 Apr 2009 14:26:55 +0000 Subject: (empty_packages) use --force like older installer (and drop --replacepkgs which is implied by force in URPM.xs) --- perl-install/install/NEWS | 2 +- perl-install/install/pkgs.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 6a9cf31f3..e85bcef09 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,7 +1,7 @@ - fix final banner - handle partition starting after 1To - package installation: - o use --replacepkgs like older installer + o use --force like older installer - set mouse driver as 'vmmouse' for vmware (#49654) - update XFCE preview 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? -- cgit v1.2.1