summaryrefslogtreecommitdiffstats
path: root/perl-install/common.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-09-02 15:39:15 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-09-02 15:39:15 +0000
commitb8a0b61228f4086bedb20590d65b5d2060e2565b (patch)
tree907eeb08722855c99b29aabdc665c5051e080a9b /perl-install/common.pm
parent81ea6be5a28c7575227cd5658947246261f9ffa4 (diff)
downloaddrakx-b8a0b61228f4086bedb20590d65b5d2060e2565b.tar
drakx-b8a0b61228f4086bedb20590d65b5d2060e2565b.tar.gz
drakx-b8a0b61228f4086bedb20590d65b5d2060e2565b.tar.bz2
drakx-b8a0b61228f4086bedb20590d65b5d2060e2565b.tar.xz
drakx-b8a0b61228f4086bedb20590d65b5d2060e2565b.zip
- 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()
Diffstat (limited to 'perl-install/common.pm')
-rw-r--r--perl-install/common.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm
index 17f70bd3d..e5a1a6693 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -237,7 +237,9 @@ sub set_permissions {
sub release_file {
my ($o_dir) = @_;
- find { -r "$o_dir$_" } map { "/etc/$_" } 'mandrakelinux-release', 'mandrake-release', 'conectiva-release', 'release', 'redhat-release';
+ find { -r "$o_dir$_" }
+ map { ("/root/drakx/$_.upgrading", "/etc/$_") }
+ 'mandrakelinux-release', 'mandrake-release', 'conectiva-release', 'release', 'redhat-release';
}
sub mandrake_release {