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
8b389383
Kaydet (Commit)
8b389383
authored
Şub 16, 2012
tarafından
Tim Retout
Kaydeden (comit)
Michael Meeks
Şub 17, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove unused checksum subs from installer::worker
üst
2efa9f51
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
58 deletions
+0
-58
make_installer.pl
solenv/bin/make_installer.pl
+0
-4
worker.pm
solenv/bin/modules/installer/worker.pm
+0
-54
No files found.
solenv/bin/make_installer.pl
Dosyayı görüntüle @
8b389383
...
@@ -815,10 +815,6 @@ for ( my $n = 0; $n <= $#installer::globals::languageproducts; $n++ )
...
@@ -815,10 +815,6 @@ for ( my $n = 0; $n <= $#installer::globals::languageproducts; $n++ )
installer::scriptitems::
make_filename_language_specific
(
$filesinproductlanguageresolvedarrayref
);
installer::scriptitems::
make_filename_language_specific
(
$filesinproductlanguageresolvedarrayref
);
if
(
$
installer::globals::
globallogging
)
{
installer::files::
save_array_of_hashes
(
$loggingdir
.
"productfiles10f.log"
,
$filesinproductlanguageresolvedarrayref
);
}
if
(
$
installer::globals::
globallogging
)
{
installer::files::
save_array_of_hashes
(
$loggingdir
.
"productfiles10f.log"
,
$filesinproductlanguageresolvedarrayref
);
}
# print "... calculating checksums ...\n";
# my $checksumfile = installer::worker::make_checksum_file($filesinproductlanguageresolvedarrayref, $includepatharrayref);
# if ( $installer::globals::globallogging ) { installer::files::save_file($loggingdir . $installer::globals::checksumfilename, $checksumfile); }
######################################################################################
######################################################################################
# Unzipping files with flag ARCHIVE and putting all included files into the file list
# Unzipping files with flag ARCHIVE and putting all included files into the file list
######################################################################################
######################################################################################
...
...
solenv/bin/modules/installer/worker.pm
Dosyayı görüntüle @
8b389383
...
@@ -83,57 +83,6 @@ sub unpack_all_targzfiles_in_directory
...
@@ -83,57 +83,6 @@ sub unpack_all_targzfiles_in_directory
}
}
}
}
#########################################
# Create checksum file
#########################################
sub
make_checksum_file
{
my
(
$filesref
,
$includepatharrayref
)
=
@_
;
my
@checksum
=
();
my
$checksumfileref
=
installer::scriptitems::
get_sourcepath_from_filename_and_includepath
(
\
$
installer::globals::
checksumfile
,
$includepatharrayref
,
1
);
if
(
$$checksumfileref
eq
""
)
{
installer::exiter::
exit_program
(
"ERROR: Could not find file $installer::globals::checksumfile !"
,
"make_checksum_file"
);
}
my
$systemcall
=
"$$checksumfileref"
;
for
(
my
$i
=
0
;
$i
<=
$#
{
$filesref
};
$i
++
)
{
my
$onefile
=
$
{
$filesref
}[
$i
];
$systemcall
=
$systemcall
.
" "
.
$onefile
->
{
'sourcepath'
};
# very very long systemcall
if
(((
$i
>
0
)
&&
(
$i
%
100
==
0
))
||
(
$i
==
$#
{
$filesref
}
))
# limiting to 100 files
{
$systemcall
=
$systemcall
.
" \|"
;
my
@localchecksum
=
();
open
(
CHECK
,
"$systemcall"
);
@localchecksum
=
<
CHECK
>
;
close
(
CHECK
);
for
(
my
$j
=
0
;
$j
<=
$#localchecksum
;
$j
++
)
{
push
(
@checksum
,
$localchecksum
[
$j
]);
}
$systemcall
=
"$$checksumfileref"
;
# reset the system call
}
}
return
\
@checksum
;
}
#########################################
# Saving the checksum file
#########################################
sub
save_checksum_file
{
my
(
$current_install_number
,
$installchecksumdir
,
$checksumfile
)
=
@_
;
my
$numberedchecksumfilename
=
$
installer::globals::
checksumfilename
;
$numberedchecksumfilename
=~
s/\./_$current_install_number\./
;
# checksum.txt -> checksum_01.txt
installer::files::
save_file
(
$installchecksumdir
.
$
installer::globals::
separator
.
$numberedchecksumfilename
,
$checksumfile
);
}
#################################################
#################################################
# Writing some global information into
# Writing some global information into
# the list of files without flag PATCH
# the list of files without flag PATCH
...
@@ -351,9 +300,6 @@ sub analyze_and_save_logfile
...
@@ -351,9 +300,6 @@ sub analyze_and_save_logfile
installer::files::
save_file
(
$loggingdir
.
$numberedlogfilename
,
\
@
installer::globals::
logfileinfo
);
installer::files::
save_file
(
$loggingdir
.
$numberedlogfilename
,
\
@
installer::globals::
logfileinfo
);
installer::files::
save_file
(
$installlogdir
.
$
installer::globals::
separator
.
$numberedlogfilename
,
\
@
installer::globals::
logfileinfo
);
installer::files::
save_file
(
$installlogdir
.
$
installer::globals::
separator
.
$numberedlogfilename
,
\
@
installer::globals::
logfileinfo
);
# Saving the checksumfile in a checksum directory in the install directory
# installer::worker::save_checksum_file($current_install_number, $installchecksumdir, $checksumfile);
# Saving the list of patchfiles in a patchlist directory in the install directory
# Saving the list of patchfiles in a patchlist directory in the install directory
if
((
$
installer::globals::
patch
)
||
(
$
installer::globals::
creating_windows_installer_patch
))
{
installer::worker::
save_patchlist_file
(
$installlogdir
,
$numberedlogfilename
);
}
if
((
$
installer::globals::
patch
)
||
(
$
installer::globals::
creating_windows_installer_patch
))
{
installer::worker::
save_patchlist_file
(
$installlogdir
,
$numberedlogfilename
);
}
...
...
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