Kaydet (Commit) 59d1c5ce authored tarafından Petr Mladek's avatar Petr Mladek

use versioned path in download tarballs (fdo#30837)

üst 3e59da9e
......@@ -1292,6 +1292,9 @@ for ( my $n = 0; $n <= $#installer::globals::languageproducts; $n++ )
# Creating directories
####################################################
if ( $allvariableshashref->{'OOODOWNLOADNAME'} ) { installer::download::set_download_filename($languagestringref, $allvariableshashref); }
else { installer::download::resolve_variables_in_downloadname($allvariableshashref, "", $languagestringref); }
$installdir = installer::worker::create_installation_directory($shipinstalldir, $languagestringref, \$current_install_number);
my $listfiledir = installer::systemactions::create_directories("listfile", $languagestringref);
......
......@@ -395,8 +395,16 @@ sub create_directories
if ( $$languagesref ) { $locallanguagesref = $$languagesref; }
if (!($locallanguagesref eq "" )) # this will be a path like "01_49", for Profiles and ConfigurationFiles, idt-Files
if ($newdirectory eq "install" )
{
# put packages into versioned path (fdo#30837)
$path = $path . "$installer::globals::ooodownloadfilename";
}
else
{
if ($locallanguagesref ne "") # this will be a path like "01_49", for Profiles and ConfigurationFiles, idt-Files
{
my $languagestring = $$languagesref;
if (length($languagestring) > $installer::globals::max_lang_length )
......@@ -409,6 +417,7 @@ sub create_directories
}
$path = $path . $languagestring . $installer::globals::separator;
}
create_directory($path);
}
}
......
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