summaryrefslogtreecommitdiff
path: root/solenv/bin/modules/installer/windows/removefile.pm
diff options
context:
space:
mode:
Diffstat (limited to 'solenv/bin/modules/installer/windows/removefile.pm')
-rw-r--r--solenv/bin/modules/installer/windows/removefile.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/solenv/bin/modules/installer/windows/removefile.pm b/solenv/bin/modules/installer/windows/removefile.pm
index 7b302ac1e0e9..2fed5296888f 100644
--- a/solenv/bin/modules/installer/windows/removefile.pm
+++ b/solenv/bin/modules/installer/windows/removefile.pm
@@ -128,6 +128,8 @@ sub create_removefile_table
$removefile{'Component_'} = get_removefile_component($onelink);
$removefile{'FileName'} = get_removefile_filename($onelink);
$removefile{'DirProperty'} = get_removefile_dirproperty($onelink);
+ # fdo#44565 do not remove empty Desktop folder
+ if ( $removefile{'DirProperty'} eq $installer::globals::desktopfolder ) { next; }
$removefile{'InstallMode'} = get_removefile_installmode($onelink);
my $oneline = $removefile{'FileKey'} . "\t" . $removefile{'Component_'} . "\t" . $removefile{'FileName'} . "\t"
@@ -145,4 +147,4 @@ sub create_removefile_table
}
-1; \ No newline at end of file
+1;