release_prepare.pl (677600b0) | release_prepare.pl (ba69edf5) |
---|---|
1#!/usr/bin/perl -w 2 3#************************************************************** 4# 5# Licensed to the Apache Software Foundation (ASF) under one 6# or more contributor license agreements. See the NOTICE file 7# distributed with this work for additional information 8# regarding copyright ownership. The ASF licenses this file --- 101 unchanged lines hidden (view full) --- 110 111sub ProcessLanguage ($$$$$) 112{ 113 my ($version, $is_current_version, $language, $package_format, $product_name) = @_; 114 115 $installer::logger::Info->printf("%s\n", $language); 116 $installer::logger::Info->increase_indentation(); 117 | 1#!/usr/bin/perl -w 2 3#************************************************************** 4# 5# Licensed to the Apache Software Foundation (ASF) under one 6# or more contributor license agreements. See the NOTICE file 7# distributed with this work for additional information 8# regarding copyright ownership. The ASF licenses this file --- 101 unchanged lines hidden (view full) --- 110 111sub ProcessLanguage ($$$$$) 112{ 113 my ($version, $is_current_version, $language, $package_format, $product_name) = @_; 114 115 $installer::logger::Info->printf("%s\n", $language); 116 $installer::logger::Info->increase_indentation(); 117 |
118 # For every language we need 119 # 1. have downloadable installation set available (download if missing) 120 # 2. unpack it to get access to .cab and .msi 121 # 3. unpack .cab so that msimsp.exe can be run | 118 if ( ! defined installer::patch::ReleasesList::Instance() 119 ->{$version} 120 ->{$package_format} 121 ->{$language}) 122 { 123 $installer::logger::Info->printf( 124 "there is no recorded information about language '%s' in version '%s'\n", 125 $language, 126 $version); 127 $installer::logger::Info->printf(" skipping\n"); 128 } 129 else 130 { 131 # For every language we need 132 # 1. have downloadable installation set available (download if missing) 133 # 2. unpack it to get access to .cab and .msi 134 # 3. unpack .cab so that msimsp.exe can be run |
122 | 135 |
123 installer::patch::InstallationSet::ProvideUnpackedCab( 124 $version, 125 $is_current_version, 126 $language, 127 $package_format, 128 $product_name); | 136 installer::patch::InstallationSet::ProvideUnpackedCab( 137 $version, 138 $is_current_version, 139 $language, 140 $package_format, 141 $product_name); 142 } |
129 130 $installer::logger::Info->decrease_indentation(); 131} 132 133 134 135 136sub main () --- 49 unchanged lines hidden --- | 143 144 $installer::logger::Info->decrease_indentation(); 145} 146 147 148 149 150sub main () --- 49 unchanged lines hidden --- |