fdo#44565 do not delete empty Desktop folder on uninstall

Change-Id: I74f0f3a5bcfb381ea941a853c3d5e5e27f7f57e7
This commit is contained in:
Andras Timar 2012-09-12 18:09:01 +02:00
parent 8c8492892b
commit 11b85ee299

View file

@ -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;
1;