summaryrefslogtreecommitdiffstats
path: root/perl-install/install/install2.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install/install2.pm')
-rw-r--r--perl-install/install/install2.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm
index c4a2c112e..75a2ebda6 100644
--- a/perl-install/install/install2.pm
+++ b/perl-install/install/install2.pm
@@ -591,8 +591,9 @@ sub main {
$_->{device} =~ s!^/dev/!!;
}
}
+ } else {
+ $o->{interactive} ||= 'gtk';
}
- $o->{interactive} ||= 'gtk' if !$::auto_install;
if ($o->{interactive} eq "gtk" && availableMemory() < 22 * 1024) {
log::l("switching to curses install cuz not enough memory");