From 3102c9c1d331b1e85443ff21e2f00d2e091f688d Mon Sep 17 00:00:00 2001 From: Till Kamppeter Date: Sat, 21 Aug 2004 17:03:00 +0000 Subject: - Added fully automatic, non-interactive, X-less print queue set up by the "autosetupprintqueues" command, preferrably to be started by hotplug. - Typo correction. - Correction of file check for package installation. --- perl-install/printer/main.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/printer/main.pm') diff --git a/perl-install/printer/main.pm b/perl-install/printer/main.pm index 47f589ca7..1e5e24452 100644 --- a/perl-install/printer/main.pm +++ b/perl-install/printer/main.pm @@ -2561,6 +2561,7 @@ sub config_sane() { # Add HPOJ backend to /etc/sane.d/dll.conf if needed (no individual # config file /etc/sane.d/hpoj.conf necessary, the HPOJ driver finds the # scanner automatically) + return if (! -f "$::prefix/etc/sane.d/dll.conf"); return if member("hpoj", chomp_(cat_("$::prefix/etc/sane.d/dll.conf"))); eval { append_to_file("$::prefix/etc/sane.d/dll.conf", "hpoj\n") } or die "can't write SANE config in /etc/sane.d/dll.conf: $!"; -- cgit v1.2.1