summaryrefslogtreecommitdiffstats
path: root/perl-install/printer.pm
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2002-03-02 17:32:23 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2002-03-02 17:32:23 +0000
commit6a1610f3c99e7d772f77752769860b51248c31ae (patch)
tree8adee4deaaa9839e7ff75f69dad6748162520eee /perl-install/printer.pm
parente97e40d422337b0b1b0006dfb1ff1c44f0b9718a (diff)
downloaddrakx-6a1610f3c99e7d772f77752769860b51248c31ae.tar
drakx-6a1610f3c99e7d772f77752769860b51248c31ae.tar.gz
drakx-6a1610f3c99e7d772f77752769860b51248c31ae.tar.bz2
drakx-6a1610f3c99e7d772f77752769860b51248c31ae.tar.xz
drakx-6a1610f3c99e7d772f77752769860b51248c31ae.zip
Replaced "Open Office" by "OpenOffice.org".
Diffstat (limited to 'perl-install/printer.pm')
-rw-r--r--perl-install/printer.pm24
1 files changed, 12 insertions, 12 deletions
diff --git a/perl-install/printer.pm b/perl-install/printer.pm
index 1e6299100..404d06346 100644
--- a/perl-install/printer.pm
+++ b/perl-install/printer.pm
@@ -1687,12 +1687,12 @@ sub configurestaroffice {
sub configureopenoffice {
my ($printer) = @_;
- # Do we have Open Office installed?
+ # Do we have OpenOffice.org installed?
my $configfilename = findopenofficeconfigfile();
return 1 if !$configfilename;
$configfilename =~ m!^(.*)/share/psprint/psprint.conf$!;
my $configprefix = $1;
- # Load Open Office printer config file
+ # Load OpenOffice.org printer config file
my $configfilecontent = readsofficeconfigfile($configfilename);
# Update remote CUPS queues
if (0 && ($printer->{SPOOLER} eq "cups") &&
@@ -1738,7 +1738,7 @@ sub configureopenoffice {
makeopenofficeprinterentry($printer, $queue, $configprefix,
$configfilecontent);
}
- # Write back Open Office configuration file
+ # Write back OpenOffice.org configuration file
return writesofficeconfigfile($configfilename, $configfilecontent);
}
@@ -1786,12 +1786,12 @@ sub addcupsremotetostaroffice {
sub addcupsremotetoopenoffice {
my ($printer, $queue) = @_;
- # Do we have Open Office installed?
+ # Do we have OpenOffice.org installed?
my $configfilename = findopenofficeconfigfile();
return 1 if !$configfilename;
$configfilename =~ m!^(.*)/share/psprint/psprint.conf$!;
my $configprefix = $1;
- # Load Open Office printer config file
+ # Load OpenOffice.org printer config file
my $configfilecontent = readsofficeconfigfile($configfilename);
# Update remote CUPS queues
if (($printer->{SPOOLER} eq "cups") &&
@@ -1821,7 +1821,7 @@ sub addcupsremotetoopenoffice {
}
}
}
- # Write back Open Office configuration file
+ # Write back OpenOffice.org configuration file
return writesofficeconfigfile($configfilename, $configfilecontent);
}
@@ -1844,18 +1844,18 @@ sub removeprinterfromstaroffice {
sub removeprinterfromopenoffice {
my ($printer, $queue) = @_;
- # Do we have Open Office installed?
+ # Do we have OpenOffice.org installed?
my $configfilename = findopenofficeconfigfile();
return 1 if !$configfilename;
$configfilename =~ m!^(.*)/share/psprint/psprint.conf$!;
my $configprefix = $1;
- # Load Open Office printer config file
+ # Load OpenOffice.org printer config file
my $configfilecontent = readsofficeconfigfile($configfilename);
# Remove the printer entry
$configfilecontent =
removeopenofficeprinterentry($printer, $queue, $configprefix,
$configfilecontent);
- # Write back Open Office configuration file
+ # Write back OpenOffice.org configuration file
return writesofficeconfigfile($configfilename, $configfilecontent);
}
@@ -1880,12 +1880,12 @@ sub removelocalprintersfromstaroffice {
sub removelocalprintersfromopenoffice {
my ($printer) = @_;
- # Do we have Open Office installed?
+ # Do we have OpenOffice.org installed?
my $configfilename = findopenofficeconfigfile();
return 1 if !$configfilename;
$configfilename =~ m!^(.*)/share/psprint/psprint.conf$!;
my $configprefix = $1;
- # Load Open Office printer config file
+ # Load OpenOffice.org printer config file
my $configfilecontent = readsofficeconfigfile($configfilename);
# Remove the printer entries
for my $queue (keys(%{$printer->{configured}})) {
@@ -1893,7 +1893,7 @@ sub removelocalprintersfromopenoffice {
removeopenofficeprinterentry($printer, $queue, $configprefix,
$configfilecontent);
}
- # Write back Open Office configuration file
+ # Write back OpenOffice.org configuration file
return writesofficeconfigfile($configfilename, $configfilecontent);
}