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
0038f19b
Kaydet (Commit)
0038f19b
authored
Agu 14, 2012
tarafından
Tim Retout
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove unused create_download_link_tree
Change-Id: I319dd0cff6f471fa6ca38d5fcf0f99c462836a83
üst
9b69ef10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
67 deletions
+0
-67
download.pm
solenv/bin/modules/installer/download.pm
+0
-67
No files found.
solenv/bin/modules/installer/download.pm
Dosyayı görüntüle @
0038f19b
...
@@ -941,71 +941,4 @@ sub create_download_sets
...
@@ -941,71 +941,4 @@ sub create_download_sets
return
$downloaddir
;
return
$downloaddir
;
}
}
####################################################
# Creating LO upload tree
####################################################
sub
create_download_link_tree
{
my
(
$downloaddir
,
$languagestringref
,
$allvariableshashref
)
=
@_
;
my
$infoline
;
installer::logger::
print_message
(
"\n******************************************\n"
);
installer::logger::
print_message
(
"... creating download hard link ...\n"
);
installer::logger::
print_message
(
"******************************************\n"
);
installer::logger::
include_header_into_logfile
(
"Creating download hard link:"
);
installer::logger::
include_timestamp_into_logfile
(
"\nPerformance Info: Creating hard link, start"
);
if
(
is_supported_platform
()
)
{
my
$versionstring
=
""
;
# Already defined $installer::globals::oooversionstring and $installer::globals::ooodownloadfilename ?
if
(
!
$
installer::globals::
oooversionstring
)
{
$versionstring
=
get_current_version
();
}
else
{
$versionstring
=
$
installer::globals::
oooversionstring
;
}
# Is $versionstring empty? If yes, there is nothing to do now.
$infoline
=
"Version string is set to: $versionstring\n"
;
push
(
@
installer::globals::
logfileinfo
,
$infoline
);
if
(
$versionstring
)
{
# Now the downloadfilename has to be set (if not already done)
my
$destdownloadfilename
=
""
;
if
(
!
$
installer::globals::
ooodownloadfilename
)
{
$destdownloadfilename
=
set_download_filename
(
$languagestringref
,
$versionstring
,
$allvariableshashref
);
}
else
{
$destdownloadfilename
=
$
installer::globals::
ooodownloadfilename
;
}
if
(
$destdownloadfilename
)
{
$destdownloadfilename
=
$destdownloadfilename
.
$
installer::globals::
downloadfileextension
;
$infoline
=
"Setting destination download file name: $destdownloadfilename\n"
;
push
(
@
installer::globals::
logfileinfo
,
$infoline
);
my
$sourcedownloadfile
=
$downloaddir
.
$
installer::globals::
separator
.
$
installer::globals::
downloadfilename
;
$infoline
=
"Setting source download file name: $sourcedownloadfile\n"
;
push
(
@
installer::globals::
logfileinfo
,
$infoline
);
create_link_tree
(
$sourcedownloadfile
,
$destdownloadfilename
,
$versionstring
);
}
}
else
{
$infoline
=
"Version string is empty. Nothing to do!\n"
;
push
(
@
installer::globals::
logfileinfo
,
$infoline
);
}
}
else
{
$infoline
=
"Platform not used for hard linking. Nothing to do!\n"
;
push
(
@
installer::globals::
logfileinfo
,
$infoline
);
}
installer::logger::
include_timestamp_into_logfile
(
"Performance Info: Creating hard link, stop"
);
}
1
;
1
;
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