component.pm (b274bc22) | component.pm (f30bf281) |
---|---|
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 --- 32 unchanged lines hidden (view full) --- 41 42sub get_component_guid 43{ 44 my ( $componentname, $componentidhashref ) = @_; 45 46 # At this time only a template 47 my $returnvalue = "\{COMPONENTGUID\}"; 48 | 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 --- 32 unchanged lines hidden (view full) --- 41 42sub get_component_guid 43{ 44 my ( $componentname, $componentidhashref ) = @_; 45 46 # At this time only a template 47 my $returnvalue = "\{COMPONENTGUID\}"; 48 |
49 if (( $installer::globals::updatedatabase ) && ( exists($componentidhashref->{$componentname}) )) 50 { 51 $returnvalue = $componentidhashref->{$componentname}; 52 } 53 | |
54 # Returning a ComponentID, that is assigned in scp project 55 if ( exists($installer::globals::componentid{$componentname}) ) 56 { 57 $returnvalue = "\{" . $installer::globals::componentid{$componentname} . "\}"; 58 } 59 60 return $returnvalue; 61} --- 465 unchanged lines hidden --- | 49 # Returning a ComponentID, that is assigned in scp project 50 if ( exists($installer::globals::componentid{$componentname}) ) 51 { 52 $returnvalue = "\{" . $installer::globals::componentid{$componentname} . "\}"; 53 } 54 55 return $returnvalue; 56} --- 465 unchanged lines hidden --- |