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
a3a74db7
Kaydet (Commit)
a3a74db7
authored
Nis 26, 2017
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
use the shared signing code
Change-Id: Ica0fad83820569623f3cc2f0217ac9cd8ee19257
üst
4e8a9345
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
create_full_mar_for_languages.py
bin/update/create_full_mar_for_languages.py
+2
-5
No files found.
bin/update/create_full_mar_for_languages.py
Dosyayı görüntüle @
a3a74db7
...
...
@@ -9,6 +9,7 @@ from tools import uncompress_file_to_dir, get_file_info
from
config
import
parse_config
from
path
import
UpdaterPath
from
signing
import
sign_mar_file
current_dir_path
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
...
...
@@ -38,8 +39,6 @@ def main():
config
=
parse_config
(
update_config
)
mar_executable
=
os
.
environ
.
get
(
'MAR'
,
'mar'
)
language_pack_dir
=
os
.
path
.
join
(
workdir
,
"installation"
,
product_name
+
"_languagepack"
,
"archive"
,
"install"
)
language_packs
=
os
.
listdir
(
language_pack_dir
)
lang_infos
=
[]
...
...
@@ -56,9 +55,7 @@ def main():
subprocess
.
call
([
os
.
path
.
join
(
current_dir_path
,
'make_full_update.sh'
),
mar_file_name
,
directory
])
signed_mar_file
=
make_complete_mar_name
(
target_dir
,
filename_prefix
+
'_signed'
,
language
)
subprocess
.
call
([
mar_executable
,
'-C'
,
target_dir
,
'-d'
,
config
.
certificate_path
,
'-n'
,
config
.
certificate_name
,
'-s'
,
mar_file_name
,
signed_mar_file
])
os
.
rename
(
signed_mar_file
,
mar_file_name
)
sign_mar_file
(
target_dir
,
config
,
mar_file_name
,
filename_prefix
)
lang_infos
.
append
(
create_lang_infos
(
mar_file_name
,
language
,
config
.
base_url
))
...
...
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