From 26e12cf7dce78529254cbcd1ed0ab94e0177b38f Mon Sep 17 00:00:00 2001 From: Till Kamppeter Date: Sat, 17 Aug 2002 01:24:44 +0000 Subject: 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. --- perl-install/scanner.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.1