summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install_steps_interactive.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 8d8f66467..057f5e399 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -901,6 +901,11 @@ sub configurePrinter {
require printer;
require printerdrake;
+ if (!$::testing) {
+ $o->do_pkgs->install('foomatic', 'printer-utils','printer-testpages',
+ if_($o->do_pkgs->is_installed('gimp'), 'gimpprint'));
+ }
+
#- try to determine if a question should be asked to the user or
#- if he is autorized to configure multiple queues.
my $ask_multiple_printer = !$::expert && !$clicked ? scalar(printerdrake::auto_detect($o)) : 2;