component.pm (9780544f) component.pm (28a50f78)
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 209 unchanged lines hidden (view full) ---

218 }
219
220 my $localstyles = "";
221
222 if ( $onefile->{'Styles'} ) { $localstyles = $onefile->{'Styles'}; }
223
224 if ( $localstyles =~ /\bFONT\b/ )
225 {
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 209 unchanged lines hidden (view full) ---

218 }
219
220 my $localstyles = "";
221
222 if ( $onefile->{'Styles'} ) { $localstyles = $onefile->{'Styles'}; }
223
224 if ( $localstyles =~ /\bFONT\b/ )
225 {
226 $attributes = 16; # font files will not be deinstalled
226 $attributes = 8; # font files will be deinstalled if the ref count is 0
227 }
228
229 if ( $localstyles =~ /\bASSEMBLY\b/ )
230 {
231 $attributes = 0; # Assembly files cannot run from source
232 }
233
234 if (( $onefile->{'Dir'} =~ /\bPREDEFINED_OSSHELLNEWDIR\b/ ) || ( $onefile->{'needs_user_registry_key'} ))

--- 292 unchanged lines hidden ---
227 }
228
229 if ( $localstyles =~ /\bASSEMBLY\b/ )
230 {
231 $attributes = 0; # Assembly files cannot run from source
232 }
233
234 if (( $onefile->{'Dir'} =~ /\bPREDEFINED_OSSHELLNEWDIR\b/ ) || ( $onefile->{'needs_user_registry_key'} ))

--- 292 unchanged lines hidden ---