summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/data.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/data.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/data.pm')
-rw-r--r--perl-install/printer/data.pm12
1 files changed, 8 insertions, 4 deletions
diff --git a/perl-install/printer/data.pm b/perl-install/printer/data.pm
index 41cf74660..5718d6c9b 100644
--- a/perl-install/printer/data.pm
+++ b/perl-install/printer/data.pm
@@ -7,7 +7,8 @@ use vars qw(@ISA @EXPORT);
@ISA = qw(Exporter);
@EXPORT = qw(%spoolers %spooler_inv %shortspooler_inv
$kernelversion $usbprintermodule
- $commonpackages $gimpprintingpackages $localqueuepackages);
+ $commonpackages $gimpprintingpackages $gnomecupspackages
+ $localqueuepackages);
# Kernel-specific data
@@ -25,6 +26,10 @@ our $commonpackages = [ [ 'foomatic-db-engine' ],
our $gimpprintingpackages = [ [ 'gutenprint-gimp2' ],
[ '/usr/lib/gimp/2.0/plug-ins/print' ] ];
+# Packages which are needed for CUPS under GNOME
+our $gnomecupspackages = [ [ 'desktop-printing' ],
+ [ '/usr/bin/eggcups' ] ];
+
# Packages which are needed to create and manage local print queues
our $localqueuepackages = [ [ 'foomatic-filters', 'foomatic-db',
'foomatic-db-hpijs', 'foomatic-db-engine',
@@ -122,14 +127,13 @@ our %spoolers = ('pdq' => {
'boot_spooler' => 'cups',
'service' => 'cups',
'local_queues' => 1,
- 'packages2add' => [ ['cups', 'net-tools', 'xpp', 'cups-drivers', 'gutenprint-cups', 'desktop-printing',
+ 'packages2add' => [ ['cups', 'net-tools', 'xpp', 'cups-drivers', 'gutenprint-cups',
$::isInstall ? 'curl' : 'webfetch'],
[ qw(/usr/lib/cups/cgi-bin/printers.cgi
/sbin/ifconfig
/usr/bin/xpp
/usr/lib/cups/filter/rastertolxx74
- /usr/lib/cups/filter/commandtoepson
- /usr/bin/eggcups),
+ /usr/lib/cups/filter/commandtoepson),
$::isInstall ||
!(-x '/usr/bin/wget') ?
'/usr/bin/curl' :