summaryrefslogtreecommitdiffstats
path: root/perl-install/install/any.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-06-08 16:58:12 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-06-09 16:25:51 +0200
commit538bd80652dfae4e45bdfb3e54892929262daa29 (patch)
tree4f2a66cdd9498cc593ef225f979bd46a8945b8c5 /perl-install/install/any.pm
parent257c414364378e9fd6e381578899e2c1e80ac848 (diff)
downloaddrakx-538bd80652dfae4e45bdfb3e54892929262daa29.tar
drakx-538bd80652dfae4e45bdfb3e54892929262daa29.tar.gz
drakx-538bd80652dfae4e45bdfb3e54892929262daa29.tar.bz2
drakx-538bd80652dfae4e45bdfb3e54892929262daa29.tar.xz
drakx-538bd80652dfae4e45bdfb3e54892929262daa29.zip
do not override bootloader on upgrade (mga#18638)
Diffstat (limited to 'perl-install/install/any.pm')
-rw-r--r--perl-install/install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index 7e843abe0..d31d57fdb 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -612,7 +612,7 @@ sub setPackages {
install::pkgs::select_by_package_names($urpm, [ $devel_kernel_pkg ], 1);
}
- install::pkgs::select_by_package_names_or_die($urpm, default_bootloader(), 1);
+ install::pkgs::select_by_package_names_or_die($urpm, default_bootloader(), 1) if !$o->{isUpgrade};
install::pkgs::select_by_package_names_or_die($urpm, ['basesystem'], 1);
my $rpmsrate_flags_was_chosen = $o->{rpmsrate_flags_chosen};