summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/data.pm
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2004-02-26 03:10:16 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2004-02-26 03:10:16 +0000
commit2d4f2558a272e1bc39d990b8afe152cf9bcf1130 (patch)
treeb0c177486a1627203246ee1da3f18c27000460d9 /perl-install/printer/data.pm
parent8990d03b8f54f5656c0b18e55f1090991be1970f (diff)
downloaddrakx-2d4f2558a272e1bc39d990b8afe152cf9bcf1130.tar
drakx-2d4f2558a272e1bc39d990b8afe152cf9bcf1130.tar.gz
drakx-2d4f2558a272e1bc39d990b8afe152cf9bcf1130.tar.bz2
drakx-2d4f2558a272e1bc39d990b8afe152cf9bcf1130.tar.xz
drakx-2d4f2558a272e1bc39d990b8afe152cf9bcf1130.zip
Fixes for HPOJ setup during installation.
Diffstat (limited to 'perl-install/printer/data.pm')
-rw-r--r--perl-install/printer/data.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/printer/data.pm b/perl-install/printer/data.pm
index c5d1a385a..4a64ead75 100644
--- a/perl-install/printer/data.pm
+++ b/perl-install/printer/data.pm
@@ -11,6 +11,7 @@ use vars qw(@ISA @EXPORT);
our $kernelversion = `uname -r 2>/dev/null`;
$kernelversion =~ s/^(\s*)(\d+\.\d+)(\..*)$/$2/;
+chomp $kernelversion;
our $usbprintermodule = ($kernelversion eq '2.6' ? "usblp" : "printer");