summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-10-02 08:19:48 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-10-02 08:19:48 +0000
commitbdc88f8775b98efc3f68073f2b0aaf208fc49257 (patch)
tree304231e49436747675360c1a30973acdc7ad2e6e
parent88c9ae35ea442d7762000fc3c579504834156782 (diff)
downloaddrakx-backup-do-not-use-bdc88f8775b98efc3f68073f2b0aaf208fc49257.tar
drakx-backup-do-not-use-bdc88f8775b98efc3f68073f2b0aaf208fc49257.tar.gz
drakx-backup-do-not-use-bdc88f8775b98efc3f68073f2b0aaf208fc49257.tar.bz2
drakx-backup-do-not-use-bdc88f8775b98efc3f68073f2b0aaf208fc49257.tar.xz
drakx-backup-do-not-use-bdc88f8775b98efc3f68073f2b0aaf208fc49257.zip
try to make the install work in "blank" mode (aka fix pixel
sucked when changed modules.pm code, not handling blank mode)
-rw-r--r--perl-install/modules.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index c3ed4cb89..4470475dc 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -47,7 +47,7 @@ sub load {
};
my @network_devices = $network_module ? detect_devices::getNet() : ();
- if ($::testing) {
+ if ($::testing || $o->{blank}) {
log::l("i would load module $_ (@{$options{$_}})") foreach @l;
} elsif ($::isStandalone || $::live) {
run_program::run('/sbin/modprobe', $_, @{$options{$_}})