a85919d
From eab93c587dd524241f63e885b0e4ac8700da5d16 Mon Sep 17 00:00:00 2001
a85919d
From: David Tardon <dtardon@redhat.com>
a85919d
Date: Mon, 3 Feb 2014 20:31:04 +0100
a85919d
Subject: [PATCH] solenv: allow missing files
a2f244f
a85919d
---
a85919d
 solenv/bin/modules/installer/scriptitems.pm | 15 ++++++---------
a85919d
 1 file changed, 6 insertions(+), 9 deletions(-)
a85919d
a85919d
diff --git a/solenv/bin/modules/installer/scriptitems.pm b/solenv/bin/modules/installer/scriptitems.pm
a85919d
index 4c384ce..963ca84 100644
a85919d
--- a/solenv/bin/modules/installer/scriptitems.pm
a85919d
+++ b/solenv/bin/modules/installer/scriptitems.pm
a85919d
@@ -1133,11 +1133,10 @@ sub remove_Files_Without_Sourcedirectory
a85919d
 
5050f39
             if ( ! $installer::globals::languagepack && !$installer::globals::helppack)
5050f39
             {
5050f39
-                $infoline = "ERROR: Removing file $filename from file list.\n";
5050f39
+                $infoline = "WARNING: Removing file $filename from file list.\n";
5050f39
                 push( @installer::globals::logfileinfo, $infoline);
5050f39
 
a2f244f
-                push(@missingfiles, "ERROR: File not found: $filename\n");
5050f39
-                $error_occurred = 1;
a2f244f
+                push(@missingfiles, "WARNING: File not found: $filename\n");
5050f39
 
a2f244f
                 next;   # removing this file from list, if sourcepath is empty
5050f39
             }
a85919d
@@ -1145,11 +1144,10 @@ sub remove_Files_Without_Sourcedirectory
5050f39
             {
5050f39
                 if (( $onefile->{'ismultilingual'} ) || ( $styles =~ /\bFORCELANGUAGEPACK\b/ ))
ea0c66e
                 {
ea0c66e
-                    $infoline = "ERROR: Removing file $filename from file list.\n";
ea0c66e
+                    $infoline = "WARNING: Removing file $filename from file list.\n";
ea0c66e
                     push( @installer::globals::logfileinfo, $infoline);
8076325
 
a2f244f
-                    push(@missingfiles, "ERROR: File not found: $filename\n");
5050f39
-                    $error_occurred = 1;
a2f244f
+                    push(@missingfiles, "WARNING: File not found: $filename\n");
8076325
 
a2f244f
                     next;   # removing this file from list, if sourcepath is empty
ea0c66e
                 }
a85919d
@@ -1167,11 +1165,10 @@ sub remove_Files_Without_Sourcedirectory
5050f39
             {
5050f39
                 if (( $onefile->{'ismultilingual'} ) || ( $styles =~ /\bFORCEHELPPACK\b/ ))
ea0c66e
                 {
5050f39
-                    $infoline = "ERROR: Removing file $filename from file list.\n";
5050f39
+                    $infoline = "WARNING: Removing file $filename from file list.\n";
5050f39
                     push( @installer::globals::logfileinfo, $infoline);
8076325
 
a2f244f
-                    push(@missingfiles, "ERROR: File not found: $filename\n");
8dd8adf
-                    $error_occurred = 1;
a2f244f
+                    push(@missingfiles, "WARNING: File not found: $filename\n");
8076325
 
a2f244f
                     next;   # removing this file from list, if sourcepath is empty
5050f39
                 }
a85919d
-- 
a85919d
1.8.4.2
a85919d