epmfile.pm (9780544f) epmfile.pm (dfa12748)
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

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

380
381 my $vendorstring = $onepackage->{'vendor'};
382 installer::packagelist::resolve_packagevariables(\$vendorstring, $variableshashref, 0);
383 $line = "%vendor" . " " . $vendorstring . "\n";
384 push(@epmheader, $line);
385
386 # License and Readme file can be included automatically from the file list
387
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

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

380
381 my $vendorstring = $onepackage->{'vendor'};
382 installer::packagelist::resolve_packagevariables(\$vendorstring, $variableshashref, 0);
383 $line = "%vendor" . " " . $vendorstring . "\n";
384 push(@epmheader, $line);
385
386 # License and Readme file can be included automatically from the file list
387
388 if ( $installer::globals::iswindowsbuild )
388 if ( $installer::globals::iswindowsbuild || $installer::globals::isos2 )
389 {
390 $licensefilename = "license.txt";
391 $readmefilename = "readme.txt";
392 }
393 else
394 {
395 $licensefilename = "LICENSE";
396 $readmefilename = "README";
397 }
398
399 if (( $installer::globals::languagepack ) # in language packs the files LICENSE and README are removed, because they are not language specific
400 || ( $variableshashref->{'NO_README_IN_ROOTDIR'} ))
401 {
389 {
390 $licensefilename = "license.txt";
391 $readmefilename = "readme.txt";
392 }
393 else
394 {
395 $licensefilename = "LICENSE";
396 $readmefilename = "README";
397 }
398
399 if (( $installer::globals::languagepack ) # in language packs the files LICENSE and README are removed, because they are not language specific
400 || ( $variableshashref->{'NO_README_IN_ROOTDIR'} ))
401 {
402 if ( $installer::globals::iswindowsbuild )
402 if ( $installer::globals::iswindowsbuild || $installer::globals::isos2 )
403 {
404 $licensefilename = "license_$searchlanguage.txt";
405 $readmefilename = "readme_$searchlanguage.txt";
406 }
407 else
408 {
409 $licensefilename = "LICENSE_$searchlanguage";
410 $readmefilename = "README_$searchlanguage";

--- 3055 unchanged lines hidden ---
403 {
404 $licensefilename = "license_$searchlanguage.txt";
405 $readmefilename = "readme_$searchlanguage.txt";
406 }
407 else
408 {
409 $licensefilename = "LICENSE_$searchlanguage";
410 $readmefilename = "README_$searchlanguage";

--- 3055 unchanged lines hidden ---