summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-09-14 15:48:18 +0000
committerdamien <damien@mandriva.com>2001-09-14 15:48:18 +0000
commit1984bc1c1202e0e7b467360e0464b9a649fb2f43 (patch)
tree123a0c918e4709d981169364d2de2a6ce5ba3a7f
parent0676c599462c2627653a33a4704aa786eb273b3a (diff)
downloaddrakx-1984bc1c1202e0e7b467360e0464b9a649fb2f43.tar
drakx-1984bc1c1202e0e7b467360e0464b9a649fb2f43.tar.gz
drakx-1984bc1c1202e0e7b467360e0464b9a649fb2f43.tar.bz2
drakx-1984bc1c1202e0e7b467360e0464b9a649fb2f43.tar.xz
drakx-1984bc1c1202e0e7b467360e0464b9a649fb2f43.zip
make test_pms happy
-rw-r--r--perl-install/printer.pm2
-rw-r--r--perl-install/printerdrake.pm3
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(<F>) {
+ while (<F>) {
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