1 |
From eab93c587dd524241f63e885b0e4ac8700da5d16 Mon Sep 17 00:00:00 2001 |
2 |
From: David Tardon <dtardon@redhat.com> |
3 |
Date: Mon, 3 Feb 2014 20:31:04 +0100 |
4 |
Subject: [PATCH] solenv: allow missing files |
5 |
|
6 |
--- |
7 |
solenv/bin/modules/installer/scriptitems.pm | 15 ++++++--------- |
8 |
1 file changed, 6 insertions(+), 9 deletions(-) |
9 |
|
10 |
diff --git a/solenv/bin/modules/installer/scriptitems.pm b/solenv/bin/modules/installer/scriptitems.pm |
11 |
index 4c384ce..963ca84 100644 |
12 |
--- a/solenv/bin/modules/installer/scriptitems.pm |
13 |
+++ b/solenv/bin/modules/installer/scriptitems.pm |
14 |
@@ -1133,11 +1133,10 @@ sub remove_Files_Without_Sourcedirectory |
15 |
|
16 |
if ( ! $installer::globals::languagepack && !$installer::globals::helppack) |
17 |
{ |
18 |
- $infoline = "ERROR: Removing file $filename from file list.\n"; |
19 |
+ $infoline = "WARNING: Removing file $filename from file list.\n"; |
20 |
push( @installer::globals::logfileinfo, $infoline); |
21 |
|
22 |
- push(@missingfiles, "ERROR: File not found: $filename\n"); |
23 |
- $error_occurred = 1; |
24 |
+ push(@missingfiles, "WARNING: File not found: $filename\n"); |
25 |
|
26 |
next; # removing this file from list, if sourcepath is empty |
27 |
} |
28 |
@@ -1145,11 +1144,10 @@ sub remove_Files_Without_Sourcedirectory |
29 |
{ |
30 |
if (( $onefile->{'ismultilingual'} ) || ( $styles =~ /\bFORCELANGUAGEPACK\b/ )) |
31 |
{ |
32 |
- $infoline = "ERROR: Removing file $filename from file list.\n"; |
33 |
+ $infoline = "WARNING: Removing file $filename from file list.\n"; |
34 |
push( @installer::globals::logfileinfo, $infoline); |
35 |
|
36 |
- push(@missingfiles, "ERROR: File not found: $filename\n"); |
37 |
- $error_occurred = 1; |
38 |
+ push(@missingfiles, "WARNING: File not found: $filename\n"); |
39 |
|
40 |
next; # removing this file from list, if sourcepath is empty |
41 |
} |
42 |
@@ -1167,11 +1165,10 @@ sub remove_Files_Without_Sourcedirectory |
43 |
{ |
44 |
if (( $onefile->{'ismultilingual'} ) || ( $styles =~ /\bFORCEHELPPACK\b/ )) |
45 |
{ |
46 |
- $infoline = "ERROR: Removing file $filename from file list.\n"; |
47 |
+ $infoline = "WARNING: Removing file $filename from file list.\n"; |
48 |
push( @installer::globals::logfileinfo, $infoline); |
49 |
|
50 |
- push(@missingfiles, "ERROR: File not found: $filename\n"); |
51 |
- $error_occurred = 1; |
52 |
+ push(@missingfiles, "WARNING: File not found: $filename\n"); |
53 |
|
54 |
next; # removing this file from list, if sourcepath is empty |
55 |
} |
56 |
-- |
57 |
1.8.4.2 |
58 |
|