summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-09-12 14:27:49 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-09-12 14:27:49 +0000
commitb72c462da6d20e741f55b2407000893c77730da3 (patch)
treeb569ed9731553eb556f47add75635b8b289c4f61
parentaea062f27f0388c53b983ad7b5343808635759ba (diff)
downloaddrakx-b72c462da6d20e741f55b2407000893c77730da3.tar
drakx-b72c462da6d20e741f55b2407000893c77730da3.tar.gz
drakx-b72c462da6d20e741f55b2407000893c77730da3.tar.bz2
drakx-b72c462da6d20e741f55b2407000893c77730da3.tar.xz
drakx-b72c462da6d20e741f55b2407000893c77730da3.zip
simplify
-rw-r--r--perl-install/install2.pm1
-rw-r--r--perl-install/install_steps.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 1725c799e..7b908a12a 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -230,7 +230,6 @@ sub choosePackages {
sub installPackages {
my ($auto) = @_;
- installStepsCall($o, $auto, 'readBootloaderConfigBeforeInstall');
installStepsCall($o, $auto, 'beforeInstallPackages');
installStepsCall($o, $auto, 'installPackages');
installStepsCall($o, $auto, 'afterInstallPackages');
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 09b3eaa8e..f8695a026 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -369,6 +369,8 @@ sub upgrading_redhat() {
sub beforeInstallPackages {
my ($o) = @_;
+ readBootloaderConfigBeforeInstall($o);
+
#- save these files in case of upgrade failure.
if ($o->{isUpgrade}) {
foreach (@filesToSaveForUpgrade) {