diff options
author | Till Kamppeter <tkamppeter@mandriva.com> | 2002-08-28 15:38:26 +0000 |
---|---|---|
committer | Till Kamppeter <tkamppeter@mandriva.com> | 2002-08-28 15:38:26 +0000 |
commit | a031a3eacefdd49ea192b732bc038c6521ab10aa (patch) | |
tree | e5063e98f269316342e442de157dff2c8e98eb3c /perl-install/printer.pm | |
parent | 7d4f7d28353b999a596562262afdb95f400c1a28 (diff) | |
download | drakx-backup-do-not-use-a031a3eacefdd49ea192b732bc038c6521ab10aa.tar drakx-backup-do-not-use-a031a3eacefdd49ea192b732bc038c6521ab10aa.tar.gz drakx-backup-do-not-use-a031a3eacefdd49ea192b732bc038c6521ab10aa.tar.bz2 drakx-backup-do-not-use-a031a3eacefdd49ea192b732bc038c6521ab10aa.tar.xz drakx-backup-do-not-use-a031a3eacefdd49ea192b732bc038c6521ab10aa.zip |
OpenOffice.org: Remove default printer tag from the "Generic Printer"
when Printerdrake adds an entry for the system's default printer.
Diffstat (limited to 'perl-install/printer.pm')
-rw-r--r-- | perl-install/printer.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/printer.pm b/perl-install/printer.pm index d5bc1e22b..fc2e0bc6f 100644 --- a/perl-install/printer.pm +++ b/perl-install/printer.pm @@ -2569,6 +2569,12 @@ sub makeopenofficeprinterentry { my $default = "0"; if ($queue eq $printer->{DEFAULT}) { $default = "1"; + # "DefaultPrinter=0" for the "Generic Printer" + $configfile = removeentry("Generic Printer", "DefaultPrinter=", + $configfile); + $configfile = addentry("Generic Printer", + "DefaultPrinter=0", + $configfile); } $configfile = addentry($queue, "DefaultPrinter=$default", |