Kaydet (Commit) 9a5183dd authored tarafından Michael Stahl's avatar Michael Stahl

installer: remove SERVICETAG remnants of product registration

Change-Id: Ic87bb4666bcc4b28476dbfe2193a8330413547cf
üst 2a9ecb89
......@@ -8,11 +8,6 @@ Globals
URELAYERVERSION 1
REFERENCEOOOMAJORMINOR 3.4
UNIXBASISROOTNAME libreoffice@LIBO_VERSION_MAJOR@.@LIBO_VERSION_MINOR@
SERVICETAG_PRODUCTNAME LibreOffice @LIBO_VERSION_MAJOR@.@LIBO_VERSION_MINOR@
SERVICETAG_PRODUCTVERSION @LIBO_VERSION_MAJOR@.@LIBO_VERSION_MINOR@
SERVICETAG_PARENTNAME LibreOffice @LIBO_VERSION_MAJOR@.@LIBO_VERSION_MINOR@
SERVICETAG_SOURCE {buildsource}{minor}(Build:{buildid})
SERVICETAG_URN urn:uuid:0187debd-e458-11de-82d6-080020a9ed93
HIDELICENSEDIALOG 1
PACKAGEPREFIX
BASISPACKAGEPREFIX libobasis
......@@ -112,7 +107,6 @@ LibreOffice_Dev
UREPACKAGEPREFIX lodev
SOLSUREPACKAGEPREFIX lodev
REGISTRYLAYERNAME LayerDev
SERVICETAG_URN urn:uuid:1680b00d-e45c-11de-82d6-080020a9ed93
UPDATEURL http://update.libreoffice.org/check.php
ADD_INCLUDE_FILES cliureversion.mk,clioootypesversion.mk
ADDSYSTEMINTEGRATION 1
......
......@@ -280,9 +280,6 @@ sub run {
installer::setupscript::add_installationobject_to_variables($allvariableshashref, $allscriptvariablesref);
# Adding also all variables, that must be included into the $allvariableshashref.
installer::setupscript::add_forced_properties($allvariableshashref);
# Replacing preset properties, not using the default mechanisms (for example for UNIXPRODUCTNAME)
installer::setupscript::replace_preset_properties($allvariableshashref);
......
......@@ -37,7 +37,6 @@ use installer::scriptitems;
use installer::ziplist;
our @EXPORT_OK = qw(
add_forced_properties
add_installationobject_to_variables
add_lowercase_productname_setupscriptvariable
add_predefined_folder
......@@ -462,30 +461,6 @@ sub add_installationobject_to_variables
}
}
#####################################################################################
# Adding all variables, that must be defined, but are not defined until now.
#####################################################################################
sub add_forced_properties
{
my ($allvariables) = @_;
my @forced_properties = qw(
SERVICETAG_PRODUCTNAME
SERVICETAG_PRODUCTVERSION
SERVICETAG_PARENTNAME
SERVICETAG_SOURCE
SERVICETAG_URN
);
for my $property (@forced_properties)
{
if ( ! exists($allvariables->{$property}) ) {
$allvariables->{$property} = "";
}
}
}
#####################################################################################
# Some properties are created automatically. It should be possible to
# overwrite them, with PRESET properties. For example UNIXPRODUCTNAME
......
......@@ -32,7 +32,6 @@ use lib '.';
BEGIN {
use_ok('installer::setupscript', qw(
add_forced_properties
add_installationobject_to_variables
add_lowercase_productname_setupscriptvariable
add_predefined_folder
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment