diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-01-13 09:11:07 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-01-13 09:11:07 +0000 |
commit | 4f7e90616fa600e3cd671638f0065340fe6d3a82 (patch) | |
tree | be47e6eec6693484d6b32c681c17b4df6bf48b2e | |
parent | bfe30d918d2fa3840b7952c6d8f37ef0fc50cae3 (diff) | |
download | drakx-4f7e90616fa600e3cd671638f0065340fe6d3a82.tar drakx-4f7e90616fa600e3cd671638f0065340fe6d3a82.tar.gz drakx-4f7e90616fa600e3cd671638f0065340fe6d3a82.tar.bz2 drakx-4f7e90616fa600e3cd671638f0065340fe6d3a82.tar.xz drakx-4f7e90616fa600e3cd671638f0065340fe6d3a82.zip |
unset DISPLAY so that code testing wether DISPLAY is set can know we don't have or use X (thanks to gégé)
-rw-r--r-- | perl-install/install_steps_newt.pm | 3 |
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 |