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
b29399d6
Kaydet (Commit)
b29399d6
authored
Ara 17, 2010
tarafından
Petr Mladek
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
find README/LICECENSE file for epm and help packs
üst
a5281892
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
4 deletions
+22
-4
epmfile.pm
solenv/bin/modules/installer/epmfile.pm
+22
-4
No files found.
solenv/bin/modules/installer/epmfile.pm
Dosyayı görüntüle @
b29399d6
...
...
@@ -460,6 +460,23 @@ sub create_epm_header
}
}
# the readme file need not be packaged more times in the help content
# it needs to be installed in parallel with the main package anyway
# try to find the README file between all available files (not only between the packaged)
if
(
!
(
$foundreadmefile
)
&&
$
installer::globals::
helppack
)
{
my
$fileref
=
installer::scriptitems::
get_sourcepath_from_filename_and_includepath
(
\
$readmefilenameen
,
""
,
0
);
if
(
$$fileref
ne
""
)
{
$infoline
=
"Fallback to readme file: \"$$fileref\"!\n"
;
push
(
@
installer::globals::
logfileinfo
,
$infoline
);
$foundreadmefile
=
1
;
$line
=
"%readme"
.
" "
.
$$fileref
.
"\n"
;
push
(
@epmheader
,
$line
);
}
}
# searching for and license file
if
(
$license_in_package_defined
)
...
...
@@ -515,11 +532,12 @@ sub create_epm_header
last
;
}
}
if
(
!
(
$foundlicensefile
)
&&
$
installer::globals::
languagepack
)
# the license file need not be packaged more times in the langpacks
# they need to be installed in parallel with the main package anyway
# try to find the LICENSE file between all available files (not only between the packaged)
if
(
!
(
$foundlicensefile
)
&&
(
$
installer::globals::
languagepack
||
$
installer::globals::
helppack
))
{
# the license file need not be packaged more times in the langpacks
# they need to be installed in parallel with the main package anyway
# try to find the LICENSE file between all available files (not only between the packaged)
my
$fileref
=
installer::scriptitems::
get_sourcepath_from_filename_and_includepath
(
\
$licensefilename
,
""
,
0
);
if
(
$$fileref
ne
""
)
{
...
...
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