From b8a0b61228f4086bedb20590d65b5d2060e2565b Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 2 Sep 2005 15:39:15 +0000 Subject: - new functionality: upgrade_by_removing_pkgs, enabled when upgrading redhat and conectiva distributions - add file upgrade-map.conectiva.10 for precise choice of packages - save /etc/xxx-release into /root/drakx/xxx-release.upgrading when starting - release_file(): look for xxx-release.upgrading first - find_root_parts(): better logging about upgrade_by_removing_pkgs, and factorize code - when all packages are installed, remove xxx-release.upgrading and rename pkgs::removed_pkgs_to_upgrade_file() --- perl-install/install_steps.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'perl-install/install_steps.pm') diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index f6fcfc82f..25bf8964e 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -564,6 +564,9 @@ EOF } } + renamef(pkgs::removed_pkgs_to_upgrade_file(), pkgs::removed_pkgs_to_upgrade_file() . '.done'); + unlink(glob("$::prefix/root/drakx/*.upgrading")); + any::fix_broken_alternatives($o->{isUpgrade} eq 'redhat'); #- update theme directly from a package (simplest). -- cgit v1.2.1