summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2002-08-17 01:24:44 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2002-08-17 01:24:44 +0000
commit26e12cf7dce78529254cbcd1ed0ab94e0177b38f (patch)
tree415265d642719dd0d9820a62f0e933ab975575d2 /perl-install
parent173f6469a1465fe1adb00e2ac64c099795ec9762 (diff)
downloaddrakx-26e12cf7dce78529254cbcd1ed0ab94e0177b38f.tar
drakx-26e12cf7dce78529254cbcd1ed0ab94e0177b38f.tar.gz
drakx-26e12cf7dce78529254cbcd1ed0ab94e0177b38f.tar.bz2
drakx-26e12cf7dce78529254cbcd1ed0ab94e0177b38f.tar.xz
drakx-26e12cf7dce78529254cbcd1ed0ab94e0177b38f.zip
Let a newline character be put after the entry in
/etc/sane.d/dll.conf, so more than one driver name can be added without all of them going into one line and then being unreadable.
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/scanner.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/scanner.pm b/perl-install/scanner.pm
index f6351ca46..b3a4a8a52 100755
--- a/perl-install/scanner.pm
+++ b/perl-install/scanner.pm
@@ -47,7 +47,7 @@ sub add2dll {
return if member($_[0], chomp_(cat_("$_sanedir/dll.conf")));
local *F;
open F, ">>$_sanedir/dll.conf" or die "can't write SANE config in $_sanedir/dll.conf: $!";
- print F $_[0];
+ print F "$_[0]\n";
close F;
}