diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2002-11-14 16:39:56 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2002-11-14 16:39:56 +0000 |
commit | d6ed9e5423700f460ef04b456b5beb5249faff92 (patch) | |
tree | f172a5106e7777929e804984385e5aedf8862796 /perl-install/printer/gimp.pm | |
parent | 63feea58c6f6ebaa497c518073ff2d06f42173fa (diff) | |
download | drakx-backup-do-not-use-d6ed9e5423700f460ef04b456b5beb5249faff92.tar drakx-backup-do-not-use-d6ed9e5423700f460ef04b456b5beb5249faff92.tar.gz drakx-backup-do-not-use-d6ed9e5423700f460ef04b456b5beb5249faff92.tar.bz2 drakx-backup-do-not-use-d6ed9e5423700f460ef04b456b5beb5249faff92.tar.xz drakx-backup-do-not-use-d6ed9e5423700f460ef04b456b5beb5249faff92.zip |
- printer::data : export all data structures
- cleanups
- all code is now runnable in strict mode
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 5bf600e3d..d9264fd81 100644 --- a/perl-install/printer/gimp.pm +++ b/perl-install/printer/gimp.pm @@ -199,7 +199,7 @@ sub makeprinterentry { $configfile = addentry($queue, "Driver: $gimpprintdriver", $configfile); $configfile = removeentry($queue, "Destination:", $configfile); $configfile = addentry($queue, - "Destination: /usr/bin/$printer::data::lprcommand{$printer->{SPOOLER}{print_command}} -P $queue -o raw", $configfile); + "Destination: /usr/bin/$spoolers{$printer->{SPOOLER}{print_command}} -P $queue -o raw", $configfile); } else { $configfile = removeentry($queue, "PPD-File:", $configfile); $configfile = addentry($queue, "PPD-File: /etc/foomatic/$queue.ppd", $configfile); @@ -207,7 +207,7 @@ sub makeprinterentry { $configfile = addentry($queue, "Driver: ps2", $configfile); $configfile = removeentry($queue, "Destination:", $configfile); $configfile = addentry($queue, - "Destination: /usr/bin/$printer::data::lprcommand{$printer->{SPOOLER}{print_command}} -P $queue", $configfile); + "Destination: /usr/bin/$spoolers{$printer->{SPOOLER}{print_command}} -P $queue", $configfile); } return $configfile; } |