diff options
author | Till Kamppeter <tkamppeter@mandriva.com> | 2002-08-17 01:24:44 +0000 |
---|---|---|
committer | Till Kamppeter <tkamppeter@mandriva.com> | 2002-08-17 01:24:44 +0000 |
commit | 26e12cf7dce78529254cbcd1ed0ab94e0177b38f (patch) | |
tree | 415265d642719dd0d9820a62f0e933ab975575d2 /perl-install/scanner.pm | |
parent | 173f6469a1465fe1adb00e2ac64c099795ec9762 (diff) | |
download | drakx-backup-do-not-use-26e12cf7dce78529254cbcd1ed0ab94e0177b38f.tar drakx-backup-do-not-use-26e12cf7dce78529254cbcd1ed0ab94e0177b38f.tar.gz drakx-backup-do-not-use-26e12cf7dce78529254cbcd1ed0ab94e0177b38f.tar.bz2 drakx-backup-do-not-use-26e12cf7dce78529254cbcd1ed0ab94e0177b38f.tar.xz drakx-backup-do-not-use-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/scanner.pm')
-rwxr-xr-x | perl-install/scanner.pm | 2 |
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; } |