From 1984bc1c1202e0e7b467360e0464b9a649fb2f43 Mon Sep 17 00:00:00 2001 From: damien Date: Fri, 14 Sep 2001 15:48:18 +0000 Subject: make test_pms happy --- perl-install/printer.pm | 2 +- perl-install/printerdrake.pm | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/perl-install/printer.pm b/perl-install/printer.pm index 6594641f7..6c29bd0b5 100644 --- a/perl-install/printer.pm +++ b/perl-install/printer.pm @@ -171,7 +171,7 @@ sub network_status { open F, ($::testing ? "$prefix" : "chroot $prefix/ ") . "/bin/sh -c \"export LC_ALL=C; /etc/rc.d/init.d/network status\" |" || die "Could not run \"/etc/rc.d/init.d/network status\"!"; - while() { + while () { if (($_ =~ /Devices.*down/) || # Are there configured devices which # are down ($_ =~ /Devices.*modified/)) { # Configured devices which are not diff --git a/perl-install/printerdrake.pm b/perl-install/printerdrake.pm index 66037c14c..4fe9471c5 100644 --- a/perl-install/printerdrake.pm +++ b/perl-install/printerdrake.pm @@ -811,8 +811,7 @@ sub get_printer_info { if ($printer->{currentqueue}{'connect'} ne 'file:/dev/lp0') { $in->ask_warn(_("OKI winprinter configuration"), - _("You are configuring an OKI laser winprinter. These printers -use a very special communication protocol and therefore they + _("You are configuring an OKI laser winprinter. These printers\nuse a very special communication protocol and therefore they work only when connected to the first parallel port. When your printer is connected to another port or to a print server box please connect the printer to the first parallel -- cgit v1.2.1