summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/detect.pm
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2003-02-17 04:24:27 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2003-02-17 04:24:27 +0000
commite8d2639e9fe4581f884906c80933501add00c3fb (patch)
tree0b8a2506d0aff82d36d979e3e51b5fcd79d11487 /perl-install/printer/detect.pm
parent15afa578a5bd7a41689c6ab2e22082f0c276a4f9 (diff)
downloaddrakx-e8d2639e9fe4581f884906c80933501add00c3fb.tar
drakx-e8d2639e9fe4581f884906c80933501add00c3fb.tar.gz
drakx-e8d2639e9fe4581f884906c80933501add00c3fb.tar.bz2
drakx-e8d2639e9fe4581f884906c80933501add00c3fb.tar.xz
drakx-e8d2639e9fe4581f884906c80933501add00c3fb.zip
- Restructured function "main()"
- Made automatic queue setup being done during installation - Support for unknown printers in auto-detection and in automatic queue setup - Fixed determination of default printer - Fixed printer help page display - Fixed wait message in /usr/sbin/printerdrake
Diffstat (limited to 'perl-install/printer/detect.pm')
-rw-r--r--perl-install/printer/detect.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/printer/detect.pm b/perl-install/printer/detect.pm
index 0f7537a2f..40842cb94 100644
--- a/perl-install/printer/detect.pm
+++ b/perl-install/printer/detect.pm
@@ -126,7 +126,8 @@ sub whatUsbport() {
}
# Was there a manufacturer and a model in the string?
if ($manufacturer eq "" || $model eq "") {
- next;
+ $manufacturer = "";
+ $model = N("Unknown Model");
}
# No description field? Make one out of manufacturer and model.
if ($description eq "") {