diff options
author | Till Kamppeter <tkamppeter@mandriva.com> | 2002-02-06 11:11:30 +0000 |
---|---|---|
committer | Till Kamppeter <tkamppeter@mandriva.com> | 2002-02-06 11:11:30 +0000 |
commit | 1680c9d482c33ea7068b0a3781a827be1a8cdf7e (patch) | |
tree | fe2545fb8f475904fc3790e09f5194aed9562b4b /perl-install/printerdrake.pm | |
parent | 521156e07d6ec033e813471c3c296b7370219d16 (diff) | |
download | drakx-1680c9d482c33ea7068b0a3781a827be1a8cdf7e.tar drakx-1680c9d482c33ea7068b0a3781a827be1a8cdf7e.tar.gz drakx-1680c9d482c33ea7068b0a3781a827be1a8cdf7e.tar.bz2 drakx-1680c9d482c33ea7068b0a3781a827be1a8cdf7e.tar.xz drakx-1680c9d482c33ea7068b0a3781a827be1a8cdf7e.zip |
Updated automatic package installation in printerdrake, no "kups" and "qtcups" any more, but "gpr", "a2ps", and "hpoj", updated also "rpmsrate" and "rpmsrate.server" appropriately.
Diffstat (limited to 'perl-install/printerdrake.pm')
-rw-r--r-- | perl-install/printerdrake.pm | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/perl-install/printerdrake.pm b/perl-install/printerdrake.pm index d1aa9d851..8cdd5c3cc 100644 --- a/perl-install/printerdrake.pm +++ b/perl-install/printerdrake.pm @@ -1532,7 +1532,7 @@ sub printer_help { my $dialogtext; if ($spooler eq "cups") { $dialogtext = -_("To print a file from the command line (terminal window) you can either use the command \"%s <file>\" or a graphical printing tool: \"xpp <file>\" or \"qtcups <file>\". The graphical tools allow you to choose the printer and to modify the option settings easily. +_("To print a file from the command line (terminal window) you can either use the command \"%s <file>\" or a graphical printing tool: \"xpp <file>\" or \"kprinter <file>\". The graphical tools allow you to choose the printer and to modify the option settings easily. ", ($queue ne $default ? "lpr -P $queue" : "lpr")) . _("These commands you can also use in the \"Printing command\" field of the printing dialogs of many applications, but here do not supply the file name because the file to print is provided by the application. ") . @@ -1880,15 +1880,11 @@ sub install_spooler { if ((!$::testing) && (!printer::files_exist((qw(/usr/lib/cups/cgi-bin/printers.cgi /sbin/ifconfig - /usr/bin/xpp - /usr/bin/qtcups), - (printer::files_exist("/usr/bin/kwin")? - "/usr/bin/kups" : ()), + /usr/bin/xpp), ($::expert ? "/usr/share/cups/model/postscript.ppd.gz" : ()) )))) { - $in->do_pkgs->install(('cups', 'net-tools', 'xpp', 'qtcups', - if_($in->do_pkgs->is_installed('kdebase'), 'kups'), + $in->do_pkgs->install(('cups', 'net-tools', 'xpp', ($::expert ? 'cups-drivers' : ()))); } # Start daemon @@ -1918,8 +1914,11 @@ sub install_spooler { if ((!$::testing) && (!printer::files_exist((qw(/usr/sbin/lpf /usr/sbin/lpd - /sbin/ifconfig))))) { - $in->do_pkgs->install(('lpr', 'net-tools')); + /sbin/ifconfig + /usr/bin/gpr + /usr/bin/a2ps + /usr/bin/convert))))) { + $in->do_pkgs->install(('lpr', 'net-tools', 'gpr', 'a2ps', 'ImageMagick')); } # Start daemon printer::restart_service("lpd"); @@ -1945,8 +1944,11 @@ sub install_spooler { if ((!$::testing) && (!printer::files_exist((qw(/usr/lib/filters/lpf /usr/sbin/lpd - /sbin/ifconfig))))) { - $in->do_pkgs->install('LPRng', 'net-tools'); + /sbin/ifconfig + /usr/bin/gpr + /usr/bin/a2ps + /usr/bin/convert))))) { + $in->do_pkgs->install('LPRng', 'net-tools', 'gpr', 'a2ps', 'ImageMagick'); } # Start daemon printer::restart_service("lpd"); |