diff options
author | Till Kamppeter <tkamppeter@mandriva.com> | 2004-08-21 17:03:00 +0000 |
---|---|---|
committer | Till Kamppeter <tkamppeter@mandriva.com> | 2004-08-21 17:03:00 +0000 |
commit | 3102c9c1d331b1e85443ff21e2f00d2e091f688d (patch) | |
tree | 326f522a3ecd71c5b305d1b86d16f075bb9de2f7 /perl-install/printer/main.pm | |
parent | b8137654402dfb0b9e4c36c979f7e3676cf54b06 (diff) | |
download | drakx-3102c9c1d331b1e85443ff21e2f00d2e091f688d.tar drakx-3102c9c1d331b1e85443ff21e2f00d2e091f688d.tar.gz drakx-3102c9c1d331b1e85443ff21e2f00d2e091f688d.tar.bz2 drakx-3102c9c1d331b1e85443ff21e2f00d2e091f688d.tar.xz drakx-3102c9c1d331b1e85443ff21e2f00d2e091f688d.zip |
- 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.
Diffstat (limited to 'perl-install/printer/main.pm')
-rw-r--r-- | perl-install/printer/main.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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: $!"; |