summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-08 23:16:40 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-08 23:16:40 +0000
commit500dd3b1a4981336166a6309bac878d476a3c52f (patch)
treecc463b19c4bbeb3aabb5796361b86fe7f96755a6
parentf4172d56b2d7f63c6762516472b7adffb0382754 (diff)
downloaddrakx-500dd3b1a4981336166a6309bac878d476a3c52f.tar
drakx-500dd3b1a4981336166a6309bac878d476a3c52f.tar.gz
drakx-500dd3b1a4981336166a6309bac878d476a3c52f.tar.bz2
drakx-500dd3b1a4981336166a6309bac878d476a3c52f.tar.xz
drakx-500dd3b1a4981336166a6309bac878d476a3c52f.zip
installing foomatic before doing anything about printer
-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;