libreoffice/openoffice.org-3.1.0.oooXXXXX.solenv.allowmissing.patch

59 lines
2.7 KiB
Diff
Raw Normal View History

2014-02-03 20:57:23 +00:00
From eab93c587dd524241f63e885b0e4ac8700da5d16 Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Mon, 3 Feb 2014 20:31:04 +0100
Subject: [PATCH] solenv: allow missing files
2012-11-26 09:52:19 +00:00
2014-02-03 20:57:23 +00:00
---
solenv/bin/modules/installer/scriptitems.pm | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/solenv/bin/modules/installer/scriptitems.pm b/solenv/bin/modules/installer/scriptitems.pm
index 4c384ce..963ca84 100644
--- a/solenv/bin/modules/installer/scriptitems.pm
+++ b/solenv/bin/modules/installer/scriptitems.pm
@@ -1133,11 +1133,10 @@ sub remove_Files_Without_Sourcedirectory
2011-04-12 11:48:59 +00:00
if ( ! $installer::globals::languagepack && !$installer::globals::helppack)
{
- $infoline = "ERROR: Removing file $filename from file list.\n";
+ $infoline = "WARNING: Removing file $filename from file list.\n";
push( @installer::globals::logfileinfo, $infoline);
2012-11-26 09:52:19 +00:00
- push(@missingfiles, "ERROR: File not found: $filename\n");
2011-04-12 11:48:59 +00:00
- $error_occurred = 1;
2012-11-26 09:52:19 +00:00
+ push(@missingfiles, "WARNING: File not found: $filename\n");
2011-04-12 11:48:59 +00:00
2012-11-26 09:52:19 +00:00
next; # removing this file from list, if sourcepath is empty
2011-04-12 11:48:59 +00:00
}
2014-02-03 20:57:23 +00:00
@@ -1145,11 +1144,10 @@ sub remove_Files_Without_Sourcedirectory
2011-04-12 11:48:59 +00:00
{
if (( $onefile->{'ismultilingual'} ) || ( $styles =~ /\bFORCELANGUAGEPACK\b/ ))
2010-12-21 16:24:04 +00:00
{
- $infoline = "ERROR: Removing file $filename from file list.\n";
+ $infoline = "WARNING: Removing file $filename from file list.\n";
push( @installer::globals::logfileinfo, $infoline);
2010-10-09 07:39:30 +00:00
2012-11-26 09:52:19 +00:00
- push(@missingfiles, "ERROR: File not found: $filename\n");
2011-04-12 11:48:59 +00:00
- $error_occurred = 1;
2012-11-26 09:52:19 +00:00
+ push(@missingfiles, "WARNING: File not found: $filename\n");
2010-10-09 07:39:30 +00:00
2012-11-26 09:52:19 +00:00
next; # removing this file from list, if sourcepath is empty
2010-12-21 16:24:04 +00:00
}
2014-02-03 20:57:23 +00:00
@@ -1167,11 +1165,10 @@ sub remove_Files_Without_Sourcedirectory
2011-04-12 11:48:59 +00:00
{
if (( $onefile->{'ismultilingual'} ) || ( $styles =~ /\bFORCEHELPPACK\b/ ))
2010-12-21 16:24:04 +00:00
{
2011-04-12 11:48:59 +00:00
- $infoline = "ERROR: Removing file $filename from file list.\n";
+ $infoline = "WARNING: Removing file $filename from file list.\n";
push( @installer::globals::logfileinfo, $infoline);
2010-10-09 07:39:30 +00:00
2012-11-26 09:52:19 +00:00
- push(@missingfiles, "ERROR: File not found: $filename\n");
2012-06-27 09:30:01 +00:00
- $error_occurred = 1;
2012-11-26 09:52:19 +00:00
+ push(@missingfiles, "WARNING: File not found: $filename\n");
2010-10-09 07:39:30 +00:00
2012-11-26 09:52:19 +00:00
next; # removing this file from list, if sourcepath is empty
2011-04-12 11:48:59 +00:00
}
2014-02-03 20:57:23 +00:00
--
1.8.4.2