summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-09-01 13:22:24 +0000
committerFrancois Pons <fpons@mandriva.com>2000-09-01 13:22:24 +0000
commit57c044f8c323f2d44fc55e77dd70afece7cc8bc8 (patch)
treeb77d34b429a7dab2005b478667bc7f2244f1fb2c /perl-install/install_steps_interactive.pm
parentd2118727c8d024d96621cb1eb418958d870495fb (diff)
downloaddrakx-57c044f8c323f2d44fc55e77dd70afece7cc8bc8.tar
drakx-57c044f8c323f2d44fc55e77dd70afece7cc8bc8.tar.gz
drakx-57c044f8c323f2d44fc55e77dd70afece7cc8bc8.tar.bz2
drakx-57c044f8c323f2d44fc55e77dd70afece7cc8bc8.tar.xz
drakx-57c044f8c323f2d44fc55e77dd70afece7cc8bc8.zip
*** empty log message ***
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r--perl-install/install_steps_interactive.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 2ed1858c1..ee35a5282 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -574,7 +574,8 @@ sub configurePrinter {
$o->{printer}{mode} = $o->ask_from_list_([''], _("What printing system do you want to use?"),
[ 'cups', 'lpr', __("Cancel") ],
);
- $o->{printer}{mode} eq 'Cancel' and $o->{printer}{mode} = undef, return;
+ $o->{printer}{want} = $o->{printer}{mode} ne 'Cancel';
+ $o->{printer}{want} or $o->{printer}{mode} = undef, return;
}
$o->{printer}{PAPERSIZE} = $o->{lang} eq 'en' ? 'letter' : 'a4';