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
b9e2b2fa
Kaydet (Commit)
b9e2b2fa
authored
May 21, 2010
tarafından
sb
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
sb120: merged in #162191# masterfix
üst
09993c47
34813c1b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
simplepackage.pm
solenv/bin/modules/installer/simplepackage.pm
+5
-2
No files found.
solenv/bin/modules/installer/simplepackage.pm
Dosyayı görüntüle @
b9e2b2fa
...
@@ -148,12 +148,15 @@ sub register_extensions
...
@@ -148,12 +148,15 @@ sub register_extensions
}
}
close
(
UNOPKG
);
close
(
UNOPKG
);
for
(
my
$j
=
0
;
$j
<=
$#unopkgoutput
;
$j
++
)
{
push
(
@
installer::globals::
logfileinfo
,
"$unopkgoutput[$j]"
);
}
my
$returnvalue
=
$?
;
# $? contains the return value of the systemcall
my
$returnvalue
=
$?
;
# $? contains the return value of the systemcall
if
(
$returnvalue
)
if
(
$returnvalue
)
{
{
# Writing content of @unopkgoutput only in the error case into the log file. Sometimes it
# contains strings like "Error" even in the case of success. This causes a packaging error
# when the log file is analyzed at the end, even if there is no real error.
for
(
my
$j
=
0
;
$j
<=
$#unopkgoutput
;
$j
++
)
{
push
(
@
installer::globals::
logfileinfo
,
"$unopkgoutput[$j]"
);
}
$infoline
=
"ERROR: Could not execute \"$systemcall\"!\nExitcode: '$returnvalue'\n"
;
$infoline
=
"ERROR: Could not execute \"$systemcall\"!\nExitcode: '$returnvalue'\n"
;
push
(
@
installer::globals::
logfileinfo
,
$infoline
);
push
(
@
installer::globals::
logfileinfo
,
$infoline
);
installer::exiter::
exit_program
(
"ERROR: $systemcall failed!"
,
"register_extensions"
);
installer::exiter::
exit_program
(
"ERROR: $systemcall failed!"
,
"register_extensions"
);
...
...
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