summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Fischer <af@apache.org>2012-07-10 07:49:56 +0000
committerAndre Fischer <af@apache.org>2012-07-10 07:49:56 +0000
commit5bf6e5810641903be2e46d43f1194732031580b0 (patch)
tree678f96c6dff05156003a6156bf20b0fa0dbc2fdb
parent6764bea53840b7730c0a51d78a8bc5d43bbe5d66 (diff)
#i119948# Instruct windows installer to use refcounting on fonts.
Reported by: DaLi Liu Patch by: qiuhuaidong Review by: DaLi Liu and Andre Fischer
Notes
Notes: reject: timar says, it is controversial. Fonts can be installed manually, too. And then we would de-install them
-rw-r--r--solenv/bin/modules/installer/windows/component.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/bin/modules/installer/windows/component.pm b/solenv/bin/modules/installer/windows/component.pm
index cde7873e2025..436306c117e0 100644
--- a/solenv/bin/modules/installer/windows/component.pm
+++ b/solenv/bin/modules/installer/windows/component.pm
@@ -223,7 +223,7 @@ sub get_file_component_attributes
if ( $localstyles =~ /\bFONT\b/ )
{
- $attributes = 16; # font files will not be deinstalled
+ $attributes = 8; # font files will be deinstalled if the ref count is 0
}
if ( $localstyles =~ /\bASSEMBLY\b/ )