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
76ffd9e6
Kaydet (Commit)
76ffd9e6
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
Replace installer::logger::include_header_into_globallogfile.
üst
c2ece9e2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
30 deletions
+5
-30
logger.pm
solenv/bin/modules/installer/logger.pm
+2
-27
setupscript.pm
solenv/bin/modules/installer/setupscript.pm
+3
-3
No files found.
solenv/bin/modules/installer/logger.pm
Dosyayı görüntüle @
76ffd9e6
...
...
@@ -37,7 +37,6 @@ use installer::globals;
our
@EXPORT_OK
=
qw(
include_header_into_logfile
include_header_into_globallogfile
include_timestamp_into_logfile
log_hashref
globallog
...
...
@@ -77,30 +76,6 @@ sub include_header_into_logfile
push
(
@
installer::globals::
logfileinfo
,
$infoline
);
}
####################################################
# Including header files into the logfile
####################################################
sub
include_header_into_globallogfile
{
my
(
$message
)
=
@_
;
my
$infoline
;
$infoline
=
"\n"
.
_get_time_string
();
push
(
@
installer::globals::
globallogfileinfo
,
$infoline
);
$infoline
=
"######################################################\n"
;
push
(
@
installer::globals::
globallogfileinfo
,
$infoline
);
$infoline
=
"$message\n"
;
push
(
@
installer::globals::
globallogfileinfo
,
$infoline
);
$infoline
=
"######################################################\n"
;
push
(
@
installer::globals::
globallogfileinfo
,
$infoline
);
}
####################################################
# Write timestamp into log file
####################################################
...
...
@@ -154,13 +129,13 @@ sub globallog
$infoline
=
"\n"
.
_get_time_string
();
push
(
@
installer::globals::
globallogfileinfo
,
$infoline
);
$infoline
=
"######################################################
##########
\n"
;
$infoline
=
"######################################################\n"
;
push
(
@
installer::globals::
globallogfileinfo
,
$infoline
);
$infoline
=
"$message\n"
;
push
(
@
installer::globals::
globallogfileinfo
,
$infoline
);
$infoline
=
"######################################################
##########
\n"
;
$infoline
=
"######################################################\n"
;
push
(
@
installer::globals::
globallogfileinfo
,
$infoline
);
}
...
...
solenv/bin/modules/installer/setupscript.pm
Dosyayı görüntüle @
76ffd9e6
...
...
@@ -30,7 +30,7 @@ package installer::setupscript;
use
installer::
existence
;
use
installer::
exiter
;
use
installer::
globals
;
use
installer::
logger
;
use
installer::
logger
qw(globallog)
;
use
installer::
remover
;
use
installer::
scriptitems
;
use
installer::
ziplist
;
...
...
@@ -241,7 +241,7 @@ sub replace_all_setupscriptvariables_in_script
{
my
(
$scriptref
,
$variablesref
)
=
@_
;
installer::logger::
include_header_into_globallogfile
(
"Replacing variables in setup script (start)"
);
globallog
(
"Replacing variables in setup script (start)"
);
# make hash of variables to be substituted if they appear in the script
my
%
subs
;
...
...
@@ -282,7 +282,7 @@ sub replace_all_setupscriptvariables_in_script
}
}
installer::logger::
include_header_into_globallogfile
(
"Replacing variables in setup script (end)"
);
globallog
(
"Replacing variables in setup script (end)"
);
return
$scriptref
;
}
...
...
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