91334d
From 3d36f9efa2e2f7a39a926e2d1acea2255b990b03 Mon Sep 17 00:00:00 2001
91334d
From: David Tardon <dtardon@redhat.com>
91334d
Date: Mon, 3 Feb 2014 21:41:00 +0100
91334d
Subject: [PATCH] installation fix
91334d
91334d
---
91334d
 solenv/bin/modules/installer/scriptitems.pm | 15 ++++++---------
91334d
 solenv/bin/modules/installer/worker.pm      |  1 -
91334d
 2 files changed, 6 insertions(+), 10 deletions(-)
91334d
91334d
diff --git a/solenv/bin/modules/installer/scriptitems.pm b/solenv/bin/modules/installer/scriptitems.pm
91334d
index 5f8dfd6..dff0f13 100644
91334d
--- a/solenv/bin/modules/installer/scriptitems.pm
91334d
+++ b/solenv/bin/modules/installer/scriptitems.pm
91334d
@@ -1131,11 +1131,10 @@ sub remove_Files_Without_Sourcedirectory
91334d
 
91334d
             if ( ! $installer::globals::languagepack && !$installer::globals::helppack)
91334d
             {
91334d
-                $infoline = "ERROR: Removing file $filename from file list.\n";
91334d
+                $infoline = "WARNING: Removing file $filename from file list.\n";
91334d
                 push( @installer::globals::logfileinfo, $infoline);
91334d
 
91334d
-                push(@missingfiles, "ERROR: File not found: $filename\n");
91334d
-                $error_occurred = 1;
91334d
+                push(@missingfiles, "WARNING: File not found: $filename\n");
91334d
 
91334d
                 next;   # removing this file from list, if sourcepath is empty
91334d
             }
91334d
@@ -1143,11 +1142,10 @@ sub remove_Files_Without_Sourcedirectory
91334d
             {
91334d
                 if (( $onefile->{'ismultilingual'} ) || ( $styles =~ /\bFORCELANGUAGEPACK\b/ ))
91334d
                 {
91334d
-                    $infoline = "ERROR: Removing file $filename from file list.\n";
91334d
+                    $infoline = "WARNING: Removing file $filename from file list.\n";
91334d
                     push( @installer::globals::logfileinfo, $infoline);
91334d
 
91334d
-                    push(@missingfiles, "ERROR: File not found: $filename\n");
91334d
-                    $error_occurred = 1;
91334d
+                    push(@missingfiles, "WARNING: File not found: $filename\n");
91334d
 
91334d
                     next;   # removing this file from list, if sourcepath is empty
91334d
                 }
91334d
@@ -1165,11 +1163,10 @@ sub remove_Files_Without_Sourcedirectory
91334d
             {
91334d
                 if (( $onefile->{'ismultilingual'} ) || ( $styles =~ /\bFORCEHELPPACK\b/ ))
91334d
                 {
91334d
-                    $infoline = "ERROR: Removing file $filename from file list.\n";
91334d
+                    $infoline = "WARNING: Removing file $filename from file list.\n";
91334d
                     push( @installer::globals::logfileinfo, $infoline);
91334d
 
91334d
-                    push(@missingfiles, "ERROR: File not found: $filename\n");
91334d
-                    $error_occurred = 1;
91334d
+                    push(@missingfiles, "WARNING: File not found: $filename\n");
91334d
 
91334d
                     next;   # removing this file from list, if sourcepath is empty
91334d
                 }
91334d
diff --git a/solenv/bin/modules/installer/worker.pm b/solenv/bin/modules/installer/worker.pm
91334d
index aab676f..0e6f67d 100644
91334d
--- a/solenv/bin/modules/installer/worker.pm
91334d
+++ b/solenv/bin/modules/installer/worker.pm
91334d
@@ -96,7 +96,6 @@ sub create_installation_directory
91334d
 
91334d
     $installdir = installer::systemactions::create_directories("install", $languageref);
91334d
     installer::logger::print_message( "... creating installation set in $installdir ...\n" );
91334d
-    remove_old_installation_sets($installdir);
91334d
     my $inprogressinstalldir = $installdir . "_inprogress";
91334d
     installer::systemactions::rename_directory($installdir, $inprogressinstalldir);
91334d
     $installdir = $inprogressinstalldir;
91334d
-- 
91334d
2.9.3
91334d