summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps_newt.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install_steps_newt.pm b/perl-install/install_steps_newt.pm
index 203a1933c..66a9accb0 100644
--- a/perl-install/install_steps_newt.pm
+++ b/perl-install/install_steps_newt.pm
@@ -28,6 +28,9 @@ sub new {
interactive::newt->new;
+ #- unset DISPLAY so that code testing wether DISPLAY is set can know we don't have or use X
+ delete $ENV{DISPLAY};
+
banner('');
Newt::PushHelpLine(
#-PO: This string must fit in a 80-char wide text screen