Lines Matching refs:installer
23 package installer::xpdinstaller;
26 use installer::converter;
27 use installer::exiter;
28 use installer::globals;
29 use installer::languages;
30 use installer::logger;
31 use installer::pathanalyzer;
32 use installer::remover;
33 use installer::systemactions;
151 …if (( $styles =~ /\bSHOW_MULTILINGUAL_ONLY\b/ ) && ( ! $installer::globals::ismultilingual )) { $t…
171 my $type = $installer::globals::packageformat;
504 $javalanguage = installer::languages::get_java_language($language);
578 if (( $installer::globals::islinuxrpmbuild ) && ( $isrpmfile ))
581 if ( ! $installer::globals::rpmquerycommand ) { $installer::globals::rpmquerycommand = "rpm"; }
583 …my $systemcall = "$installer::globals::rpmquerycommand -qp --queryformat \"\[\%\{FILESIZES\}\\n\]\…
599 $installer::logger::Info->print("... trying /usr/bin/rpm ...\n");
602 …if ( $error ) { installer::exiter::exit_program("ERROR: rpm failed to query package!", "get_size_v…
612 installer::pathanalyzer::make_absolute_filename_to_relative_filename(\$rpmname);
614 $installer::logger::Lang->print($infoline);
617 if ( $installer::globals::issolarispkgbuild )
620 $filename = $packagename . $installer::globals::separator . $filename;
621 $file = installer::files::read_file($filename);
657 if ( $installer::globals::islinuxrpmbuild )
672 installer::pathanalyzer::make_absolute_filename_to_relative_filename(\$rpmname);
674 $installer::logger::Lang->print($infoline);
694 installer::pathanalyzer::make_absolute_filename_to_relative_filename(\$value);
711 if (( $installer::globals::islinuxrpmbuild ) && ( $isrpmfile ))
720 if ( ! $installer::globals::rpmquerycommand ) { $installer::globals::rpmquerycommand = "rpm"; }
721 my $systemcall = "$installer::globals::rpmquerycommand -qp $packagename |";
737 $installer::logger::Info->print("... trying /usr/bin/rpm ...\n");
740 …if ( $error ) { installer::exiter::exit_program("ERROR: rpm failed to query package!", "get_fullpk…
743 installer::remover::remove_leading_and_ending_whitespaces(\$value);
746 installer::pathanalyzer::make_absolute_filename_to_relative_filename(\$rpmname);
749 $installer::logger::Lang->print($infoline);
771 if ( $installer::globals::issolarispkgbuild )
775 installer::pathanalyzer::get_path_from_fullqualifiedname(\$packagepath);
778 installer::pathanalyzer::make_absolute_filename_to_relative_filename(\$packagename);
784 installer::remover::remove_leading_and_ending_whitespaces(\$value);
867 $installer::logger::Info->printf("... %s ...\n", $systemcall);
876 $installer::logger::Lang->print($infoline);
882 $installer::logger::Lang->print($line);
889 $installer::logger::Lang->print($infoline);
895 $installer::logger::Lang->print($infoline);
911 $installer::logger::Info->printf("... %s ...\n", $systemcall);
920 $installer::logger::Lang->print($infoline);
926 $installer::logger::Lang->print($line);
935 $installer::logger::Lang->print($infoline);
941 $installer::logger::Lang->print($infoline);
948 $installer::logger::Lang->print($infoline);
1104 …my $tag = $indent . "<packagedirectory>" . $installer::globals::epmoutpath . "</packagedirectory>"…
1117 …my $tag = $indent . "<packageformat>" . $installer::globals::packageformat . "</packageformat>" . …
1131 if ( $installer::globals::issolarissparcbuild ) { $architecture = "sparc"; }
1132 if ( $installer::globals::issolarisx86build ) { $architecture = "i386"; }
1148 if ( $installer::globals::ismultilingual == 1 ) { $value = "true"; }
1415 $installdir =~ s/\Q$installer::globals::separator\E\s*$//;
1416 my $directory = $installdir . $installer::globals::separator . $subdir;
1417 $directory =~ s/\Q$installer::globals::separator\E\s*$//;
1421 $newpackage = $directory . $installer::globals::separator . $xpdinfo->{'RealPackageName'};
1422 push(@installer::globals::currentcontent, $newpackage);
1426 …my ($newcontent, $allcontent) = installer::systemactions::find_new_content_in_directory($directory…
1427 @installer::globals::currentcontent = ();
1428 foreach my $element ( @{$allcontent} ) { push(@installer::globals::currentcontent, $element); }
1431 …if ( $newentriesnumber > 1 ) { installer::exiter::exit_program("ERROR: More than one new package i…
1432 …elsif ( $newentriesnumber < 1 ) { installer::exiter::exit_program("ERROR: No new package in direc…
1484 $xpdfilename = $xpddir . $installer::globals::separator . $xpdfilename;
1486 installer::files::save_file($xpdfilename, $xpdfile);
1487 push(@installer::globals::allxpdfiles, $xpdfilename);
1489 $installer::logger::Lang->print($infoline);
1493 push( @installer::globals::createdxpdfiles, $parentgid);
1560 my $xpddir = installer::systemactions::create_directories("xpdinstaller", $languagestringref);
1562 $installer::globals::xpddir = $xpddir;
1574 …if ( $installer::globals::issolarispkgbuild ) { $solslanguage = installer::epmfile::get_solaris_la…
1577 installer::logger::include_header_into_logfile("Creating xpd file ($modulegid):");
1589 $xpdfilename = $xpddir . $installer::globals::separator . $xpdfilename;
1598 $newxpdfilename = $xpddir . $installer::globals::separator . $newxpdfilename;
1601 installer::files::save_file($xpdfilename, $emptyfilecontent);
1602 push(@installer::globals::allxpdfiles, $xpdfilename);
1604 $installer::logger::Lang->print($infoline);
1610 installer::files::save_file($xpdfilename, $xpdfile);
1611 push( @installer::globals::createdxpdfiles, $modulegid);
1612 push(@installer::globals::allxpdfiles, $xpdfilename);
1614 $installer::logger::Lang->print($infoline);
1622 …if (( $create_missing_parent ) && ( ! installer::existence::exists_in_array($parentgid, \@installe…
1633 …if (( $create_missing_parent ) && ( ! installer::existence::exists_in_array($grandpagid, \@install…
1641 …installer::exiter::exit_program("ERROR: No module definition found for gid: $modulegid", "create_x…
1660 …my $completepackage = $currentdir . $installer::globals::separator . $destdir . $installer::global…
1666 $xpdfilename = $installer::globals::xpddir . $installer::globals::separator . $xpdfilename;
1668 installer::files::save_file($xpdfilename, $xpdfile);
1669 push( @installer::globals::createdxpdfiles, $modulegid);
1670 push(@installer::globals::allxpdfiles, $xpdfilename);
1672 $installer::logger::Lang->print($infoline);
1679 …if (( $create_missing_parent ) && ( ! installer::existence::exists_in_array($parentgid, \@installe…
1681 create_emptyparents_xpd_file($parentgid, $modulesarrayref, $installer::globals::xpddir);
1706 $installer::logger::Lang->print($infoline);
1708 my $childmodule = installer::worker::copy_hash_from_references($module);
1710 $childmodule->{'InstallOrder'} = $installer::globals::defaultsystemintinstallorder;
1720 installer::pathanalyzer::make_absolute_filename_to_relative_filename(\$shortpackagename);
1734 my $allorders = installer::converter::convert_stringlist_into_array(\$installorder, ",");
1752 $xpdfilename = $installer::globals::xpddir . $installer::globals::separator . $xpdfilename;
1754 installer::files::save_file($xpdfilename, $xpdfile);
1755 push(@installer::globals::allxpdfiles, $xpdfilename);
1757 $installer::logger::Lang->print($infoline);
1761 create_emptyparents_xpd_file($parentgid, $modulesarrayref, $installer::globals::xpddir);
1772 for ( my $i = 0; $i <= $#installer::globals::allxpdfiles; $i++ )
1774 …if ( ! -f $installer::globals::allxpdfiles[$i] ) { installer::exiter::exit_program("ERROR: Could n…
1775 installer::systemactions::copy_one_file($installer::globals::allxpdfiles[$i], $destdir);
1787 $installdir =~ s/\Q$installer::globals::separator\E\s*$//;
1789 my $instdir = $installdir . $installer::globals::separator . "installdata";
1790 installer::systemactions::create_directory($instdir);
1792 my $xpddir = $instdir . $installer::globals::separator . "xpd";
1793 installer::systemactions::create_directory($xpddir);
1807 my $xpdfilename = $installer::globals::productxpdfile;
1808 $xpdfilename = $installer::globals::xpddir . $installer::globals::separator . $xpdfilename;
1810 installer::files::save_file($xpdfilename, $xpdfile);
1811 push(@installer::globals::allxpdfiles, $xpdfilename);
1813 $installer::logger::Lang->print($infoline);
1825 installer::logger::include_header_into_logfile("Creating xpd installer:");