summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/printer/gimp.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/printer/gimp.pm b/perl-install/printer/gimp.pm
index e6eab53c1..0b0ebdaed 100644
--- a/perl-install/printer/gimp.pm
+++ b/perl-install/printer/gimp.pm
@@ -364,8 +364,8 @@ sub isprinterconfigured {
$drivernotps2 = $1 ne "ps2";
} elsif (/^\s*PPD\-File:\s*(\S+)\s*$/) {
$ppdfileset = 1;
- } elsif (/^\s*Destination:\s*(\S+.*)$/) {
- $nonrawprinting = $1 !~ /\-o\s*raw/;
+ } elsif (my ($dest) = /^\s*Destination:\s*(\S+.*)$/) {
+ $nonrawprinting = $dest !~ /\-o\s*raw/;
}
}
}