summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
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 157df8c82..18b9e3059 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -560,8 +560,9 @@ sub servicesConfig {
sub printerConfig($) {
my ($o) = @_;
+ require printer;
+ eval { add2hash($o->{printer} ||= {}, printer::getinfo($o->{prefix})) };
require printerdrake;
- eval { add2hash($o->{printer}, printerdrake::getinfo($o->{prefix})) };
printerdrake::main($o->{printer}, $o, sub { install_any::pkg_install($o, $_[0]) });
}