diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-01-07 14:56:34 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-01-07 14:56:34 +0000 |
commit | 08cfcfa9b2470a6fb9c72f51c8ee37f80ecbdcde (patch) | |
tree | 459656706ae301e22da80278bd259fffda07e59d /perl-install/printer/gimp.pm | |
parent | 44f3167ffb750f41302128aed4dd763449dd5c50 (diff) | |
download | drakx-08cfcfa9b2470a6fb9c72f51c8ee37f80ecbdcde.tar drakx-08cfcfa9b2470a6fb9c72f51c8ee37f80ecbdcde.tar.gz drakx-08cfcfa9b2470a6fb9c72f51c8ee37f80ecbdcde.tar.bz2 drakx-08cfcfa9b2470a6fb9c72f51c8ee37f80ecbdcde.tar.xz drakx-08cfcfa9b2470a6fb9c72f51c8ee37f80ecbdcde.zip |
fix new data structure usage
Diffstat (limited to 'perl-install/printer/gimp.pm')
-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 a6bf28bbf..db7d50470 100644 --- a/perl-install/printer/gimp.pm +++ b/perl-install/printer/gimp.pm @@ -198,7 +198,7 @@ sub makeprinterentry { $configfile = addentry($queue, "Driver: $gimpprintdriver", $configfile); $configfile = removeentry($queue, "Destination:", $configfile); $configfile = addentry($queue, - sprintf("Destination: /usr/bin/%s -P %s -o raw", $spoolers{$printer->{SPOOLER}{print_command}}, $queue), $configfile); + sprintf("Destination: /usr/bin/%s -P %s -o raw", $spoolers{$printer->{SPOOLER}}{print_command}, $queue), $configfile); } else { $configfile = removeentry($queue, "PPD-File:", $configfile); $configfile = addentry($queue, "PPD-File: /etc/foomatic/$queue.ppd", $configfile); @@ -206,7 +206,7 @@ sub makeprinterentry { $configfile = addentry($queue, "Driver: ps2", $configfile); $configfile = removeentry($queue, "Destination:", $configfile); $configfile = addentry($queue, - sprintf("Destination: /usr/bin/%s -P %s", $spoolers{$printer->{SPOOLER}{print_command}}, $queue), $configfile); + sprintf("Destination: /usr/bin/%s -P %s", $spoolers{$printer->{SPOOLER}}{print_command}, $queue), $configfile); } return $configfile; } |