summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/printerdrake.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/printer/printerdrake.pm')
-rw-r--r--perl-install/printer/printerdrake.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/printer/printerdrake.pm b/perl-install/printer/printerdrake.pm
index 7418119cd..2d3eba81b 100644
--- a/perl-install/printer/printerdrake.pm
+++ b/perl-install/printer/printerdrake.pm
@@ -4321,6 +4321,10 @@ sub install_spooler {
push (@{$packages->[1]}, @{$commonpackages->[1]});
push (@{$packages->[1]}, @{$localqueuepackages->[1]}) if
$spoolers{$spooler}{local_queues};
+ if (files_exist("/usr/bin/gimp") || files_exist("/usr/bin/gimp-2.2")) {
+ push (@{$packages->[0]}, @{$gimpprintingpackages->[0]});
+ push (@{$packages->[1]}, @{$gimpprintingpackages->[1]});
+ }
if (@{$packages->[0]} && !files_exist(@{$packages->[1]})) {
undef $w;
$w = $o_in && $o_in->wait_message(N("Printerdrake"), N("Installing %s..."), $spoolers{$spooler}{short_name});