8d866e1
From 3d36f9efa2e2f7a39a926e2d1acea2255b990b03 Mon Sep 17 00:00:00 2001
a85919d
From: David Tardon <dtardon@redhat.com>
8d866e1
Date: Mon, 3 Feb 2014 21:41:00 +0100
8d866e1
Subject: [PATCH] installation fix
a2f244f
a85919d
---
a85919d
 solenv/bin/modules/installer/scriptitems.pm | 15 ++++++---------
8d866e1
 solenv/bin/modules/installer/worker.pm      |  1 -
8d866e1
 2 files changed, 6 insertions(+), 10 deletions(-)
a85919d
a85919d
diff --git a/solenv/bin/modules/installer/scriptitems.pm b/solenv/bin/modules/installer/scriptitems.pm
8d866e1
index 5f8dfd6..dff0f13 100644
a85919d
--- a/solenv/bin/modules/installer/scriptitems.pm
a85919d
+++ b/solenv/bin/modules/installer/scriptitems.pm
8d866e1
@@ -1131,11 +1131,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
             }
8d866e1
@@ -1143,11 +1142,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
                 }
8d866e1
@@ -1165,11 +1163,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
                 }
8d866e1
diff --git a/solenv/bin/modules/installer/worker.pm b/solenv/bin/modules/installer/worker.pm
8d866e1
index aab676f..0e6f67d 100644
8d866e1
--- a/solenv/bin/modules/installer/worker.pm
8d866e1
+++ b/solenv/bin/modules/installer/worker.pm
8d866e1
@@ -96,7 +96,6 @@ sub create_installation_directory
8d866e1
 
8d866e1
     $installdir = installer::systemactions::create_directories("install", $languageref);
8d866e1
     installer::logger::print_message( "... creating installation set in $installdir ...\n" );
8d866e1
-    remove_old_installation_sets($installdir);
8d866e1
     my $inprogressinstalldir = $installdir . "_inprogress";
8d866e1
     installer::systemactions::rename_directory($installdir, $inprogressinstalldir);
8d866e1
     $installdir = $inprogressinstalldir;
a85919d
-- 
8d866e1
2.9.3
a85919d