diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-05-23 18:27:05 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-05-23 18:27:05 +0000 |
commit | 53108a4944e455be900e17b29a055c478f761e66 (patch) | |
tree | bdb033bbc6372252fa38588dd6b43ec4bfc3ae81 | |
parent | 3a8cb984c2bbf56c37a0b48c3d370e9488763123 (diff) | |
download | drakx-53108a4944e455be900e17b29a055c478f761e66.tar drakx-53108a4944e455be900e17b29a055c478f761e66.tar.gz drakx-53108a4944e455be900e17b29a055c478f761e66.tar.bz2 drakx-53108a4944e455be900e17b29a055c478f761e66.tar.xz drakx-53108a4944e455be900e17b29a055c478f761e66.zip |
simplify flow
-rw-r--r-- | perl-install/install/install2.pm | 3 |
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"); |