Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
59d1c5ce
Kaydet (Commit)
59d1c5ce
authored
Kas 03, 2010
tarafından
Petr Mladek
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
use versioned path in download tarballs (fdo#30837)
üst
3e59da9e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
11 deletions
+23
-11
make_installer.pl
solenv/bin/make_installer.pl
+3
-0
systemactions.pm
solenv/bin/modules/installer/systemactions.pm
+20
-11
No files found.
solenv/bin/make_installer.pl
Dosyayı görüntüle @
59d1c5ce
...
...
@@ -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
);
...
...
solenv/bin/modules/installer/systemactions.pm
Dosyayı görüntüle @
59d1c5ce
...
...
@@ -395,20 +395,29 @@ 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"
)
{
my
$languagestring
=
$$languagesref
;
if
(
length
(
$languagestring
)
>
$
installer::globals::
max_lang_length
)
# 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
$number_of_languages
=
get_number_of_langs
(
$languagestring
);
chomp
(
my
$shorter
=
`echo $languagestring | md5sum | sed -e "s/ .*//g"`
);
# $languagestring = $shorter;
my
$id
=
substr
(
$shorter
,
0
,
8
);
# taking only the first 8 digits
$languagestring
=
"lang_"
.
$number_of_languages
.
"_id_"
.
$id
;
}
$path
=
$path
.
$languagestring
.
$
installer::globals::
separator
;
my
$languagestring
=
$$languagesref
;
if
(
length
(
$languagestring
)
>
$
installer::globals::
max_lang_length
)
{
my
$number_of_languages
=
get_number_of_langs
(
$languagestring
);
chomp
(
my
$shorter
=
`echo $languagestring | md5sum | sed -e "s/ .*//g"`
);
# $languagestring = $shorter;
my
$id
=
substr
(
$shorter
,
0
,
8
);
# taking only the first 8 digits
$languagestring
=
"lang_"
.
$number_of_languages
.
"_id_"
.
$id
;
}
$path
=
$path
.
$languagestring
.
$
installer::globals::
separator
;
}
create_directory
(
$path
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment