diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-12-19 20:02:10 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-12-19 20:02:10 +0000 |
commit | c85425ed49345940db69e57fbf9b91c15c6d821e (patch) | |
tree | c2f16702544488273d9f93517d276f7afc6c48dc | |
parent | 19f95de3868a2c6281c849b0acec10d1cdd04b85 (diff) | |
download | drakx-c85425ed49345940db69e57fbf9b91c15c6d821e.tar drakx-c85425ed49345940db69e57fbf9b91c15c6d821e.tar.gz drakx-c85425ed49345940db69e57fbf9b91c15c6d821e.tar.bz2 drakx-c85425ed49345940db69e57fbf9b91c15c6d821e.tar.xz drakx-c85425ed49345940db69e57fbf9b91c15c6d821e.zip |
do not use "$1 !~ ..."
-rw-r--r-- | perl-install/printer/gimp.pm | 4 |
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/; } } } |