summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/printer/printerdrake.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/perl-install/printer/printerdrake.pm b/perl-install/printer/printerdrake.pm
index 3e55f2f81..af648d038 100644
--- a/perl-install/printer/printerdrake.pm
+++ b/perl-install/printer/printerdrake.pm
@@ -1951,9 +1951,14 @@ sub setup_common {
$descr = "$descrmake|$autosku";
} elsif ($automake && $automodel) {
$descr = "$descrmake|$automodel";
- } else {
+ } elsif ($autodescr) {
$descr = $autodescr;
$descr =~ s/ /|/;
+ } elsif ($automodel) {
+ $descr = $automodel;
+ $descr =~ s/ /|/;
+ } elsif ($automake) {
+ $descr = "$descrmake|";
}
# Remove manufacturer's name from the beginning of the
# description (do not do this with manufacturer names which