59 lines
2.7 KiB
Diff
59 lines
2.7 KiB
Diff
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
|
|
|
|
---
|
|
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
|
|
|
|
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);
|
|
|
|
- push(@missingfiles, "ERROR: File not found: $filename\n");
|
|
- $error_occurred = 1;
|
|
+ push(@missingfiles, "WARNING: File not found: $filename\n");
|
|
|
|
next; # removing this file from list, if sourcepath is empty
|
|
}
|
|
@@ -1145,11 +1144,10 @@ sub remove_Files_Without_Sourcedirectory
|
|
{
|
|
if (( $onefile->{'ismultilingual'} ) || ( $styles =~ /\bFORCELANGUAGEPACK\b/ ))
|
|
{
|
|
- $infoline = "ERROR: Removing file $filename from file list.\n";
|
|
+ $infoline = "WARNING: Removing file $filename from file list.\n";
|
|
push( @installer::globals::logfileinfo, $infoline);
|
|
|
|
- push(@missingfiles, "ERROR: File not found: $filename\n");
|
|
- $error_occurred = 1;
|
|
+ push(@missingfiles, "WARNING: File not found: $filename\n");
|
|
|
|
next; # removing this file from list, if sourcepath is empty
|
|
}
|
|
@@ -1167,11 +1165,10 @@ sub remove_Files_Without_Sourcedirectory
|
|
{
|
|
if (( $onefile->{'ismultilingual'} ) || ( $styles =~ /\bFORCEHELPPACK\b/ ))
|
|
{
|
|
- $infoline = "ERROR: Removing file $filename from file list.\n";
|
|
+ $infoline = "WARNING: Removing file $filename from file list.\n";
|
|
push( @installer::globals::logfileinfo, $infoline);
|
|
|
|
- push(@missingfiles, "ERROR: File not found: $filename\n");
|
|
- $error_occurred = 1;
|
|
+ push(@missingfiles, "WARNING: File not found: $filename\n");
|
|
|
|
next; # removing this file from list, if sourcepath is empty
|
|
}
|
|
--
|
|
1.8.4.2
|
|
|