summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-27 11:54:17 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-27 11:54:17 +0000
commit466694c594170337ab42a440743f4898d8539d38 (patch)
treeafe62f825c3d911bbb20fc1ad2d48224b04e4694
parent9517ec5a26a4127c53774aa83c8f75d7f76c4fbc (diff)
downloaddrakx-kbd-mouse-x11-466694c594170337ab42a440743f4898d8539d38.tar
drakx-kbd-mouse-x11-466694c594170337ab42a440743f4898d8539d38.tar.gz
drakx-kbd-mouse-x11-466694c594170337ab42a440743f4898d8539d38.tar.bz2
drakx-kbd-mouse-x11-466694c594170337ab42a440743f4898d8539d38.tar.xz
drakx-kbd-mouse-x11-466694c594170337ab42a440743f4898d8539d38.zip
(setupFB) don't die if no bootloader is configured
(mostly for auto_installs in drakx-in-chroot with broken pci detection)
-rw-r--r--lib/Xconfig/various.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Xconfig/various.pm b/lib/Xconfig/various.pm
index ff823a1..2cd3cac 100644
--- a/lib/Xconfig/various.pm
+++ b/lib/Xconfig/various.pm
@@ -311,6 +311,7 @@ sub setupFB {
if ($::isInstall && !$::globetrotter) {
($bootloader, $all_hds) = ($::o->{bootloader}, $::o->{all_hds});
+ $bootloader && $bootloader->{method} or return;
} else {
require fsedit;
require fs;