diff options
Diffstat (limited to 'perl-install/printer/data.pm')
-rw-r--r-- | perl-install/printer/data.pm | 1 |
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"); |