summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/printerdrake.pm
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2005-09-06 15:34:32 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2005-09-06 15:34:32 +0000
commitc10791e1b7d4aacfd691dcea9a8085b513a84459 (patch)
treee782f52c2dfc77f0f9b8e1d4b279d62ca7d8cc74 /perl-install/printer/printerdrake.pm
parent0009ccee9fcef41d8cdf484c0fea8a8a7b3497f7 (diff)
downloaddrakx-c10791e1b7d4aacfd691dcea9a8085b513a84459.tar
drakx-c10791e1b7d4aacfd691dcea9a8085b513a84459.tar.gz
drakx-c10791e1b7d4aacfd691dcea9a8085b513a84459.tar.bz2
drakx-c10791e1b7d4aacfd691dcea9a8085b513a84459.tar.xz
drakx-c10791e1b7d4aacfd691dcea9a8085b513a84459.zip
- Install "desktop-printing" only on sytems with installed
gnome-panel, Discovery does not ship GNOME and also not desktop-printing.
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 1950f14c2..8c9d73353 100644
--- a/perl-install/printer/printerdrake.pm
+++ b/perl-install/printer/printerdrake.pm
@@ -4617,6 +4617,10 @@ sub install_spooler {
push @{$packages->[0]}, @{$gimpprintingpackages->[0]};
push @{$packages->[1]}, @{$gimpprintingpackages->[1]};
}
+ if (files_exist("/usr/bin/gnome-panel")) {
+ push @{$packages->[0]}, @{$gnomecupspackages->[0]};
+ push @{$packages->[1]}, @{$gnomecupspackages->[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});