summaryrefslogtreecommitdiffstats
path: root/perl-install/printer.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-01-12 05:57:32 +0000
committerFrancois Pons <fpons@mandriva.com>2000-01-12 05:57:32 +0000
commit0dc2fe26d5665567afc0e5f2187e7d6ae41ce0dd (patch)
tree48117c489d683302a17daa37bfc0661e68a660ea /perl-install/printer.pm
parentefe4d482264afc4df49addf731316c1f4c93b6dc (diff)
downloaddrakx-0dc2fe26d5665567afc0e5f2187e7d6ae41ce0dd.tar
drakx-0dc2fe26d5665567afc0e5f2187e7d6ae41ce0dd.tar.gz
drakx-0dc2fe26d5665567afc0e5f2187e7d6ae41ce0dd.tar.bz2
drakx-0dc2fe26d5665567afc0e5f2187e7d6ae41ce0dd.tar.xz
drakx-0dc2fe26d5665567afc0e5f2187e7d6ae41ce0dd.zip
*** empty log message ***
Diffstat (limited to 'perl-install/printer.pm')
-rw-r--r--perl-install/printer.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/printer.pm b/perl-install/printer.pm
index 524a8ae0e..21098df37 100644
--- a/perl-install/printer.pm
+++ b/perl-install/printer.pm
@@ -288,6 +288,8 @@ sub read_printer_db(;$) {
}
}
delete $available_devices{''};
+ @available_devices{qw/POSTSCRIPT TEXT/} = (); #- these are always available.
+ close AVAIL;
local $_; #- use of while (<...
local *DBPATH; #- don't have to do close ... and don't modify globals at least