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
ad21f8ec
Kaydet (Commit)
ad21f8ec
authored
Agu 21, 2017
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
updater: also write channel to version.ini outside of instdir
Change-Id: Ibb087fc9cd17e50accf78f805e0fec4f202334b1
üst
bfd8a4e2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
0 deletions
+30
-0
common_brand.scp
scp2/source/ooo/common_brand.scp
+9
-0
scriptitems.pm
solenv/bin/modules/installer/scriptitems.pm
+21
-0
No files found.
scp2/source/ooo/common_brand.scp
Dosyayı görüntüle @
ad21f8ec
...
@@ -565,6 +565,15 @@ ProfileItem gid_Brand_Profileitem_Version_Updateurl
...
@@ -565,6 +565,15 @@ ProfileItem gid_Brand_Profileitem_Version_Updateurl
#endif
#endif
End
End
ProfileItem gid_Brand_Profileitem_Version_UpdateChannel
ProfileID = gid_Brand_Profile_Version_Ini;
ModuleID = gid_Module_Root_Brand;
Section = "Version";
Order = 19;
Key = "UpdateChannel";
Value = "<updatechannel>";
End
ProfileItem gid_Brand_Profileitem_Version_Updateid
ProfileItem gid_Brand_Profileitem_Version_Updateid
ProfileID = gid_Brand_Profile_Version_Ini;
ProfileID = gid_Brand_Profile_Version_Ini;
ModuleID = gid_Module_Root_Brand;
ModuleID = gid_Module_Root_Brand;
...
...
solenv/bin/modules/installer/scriptitems.pm
Dosyayı görüntüle @
ad21f8ec
...
@@ -656,6 +656,26 @@ sub replace_setup_variables
...
@@ -656,6 +656,26 @@ sub replace_setup_variables
my
$updateid
=
$productname
.
"_"
.
$libo_version_major
.
"_"
.
$$languagestringref
;
my
$updateid
=
$productname
.
"_"
.
$libo_version_major
.
"_"
.
$$languagestringref
;
$updateid
=~
s/ /_/g
;
$updateid
=~
s/ /_/g
;
my
$updatechannel
=
""
;
if
(
$ENV
{
'UPDATE_CONFIG'
}
&&
$ENV
{
'UPDATE_CONFIG'
}
ne
""
)
{
open
(
CONFIG
,
$ENV
{
'UPDATE_CONFIG'
});
while
(
<
CONFIG
>
)
{
chomp
;
if
(
/^s*(\S+)=(\S+)$/
)
{
$key
=
$1
;
$val
=
$2
;
if
(
$key
eq
"channel"
)
{
$updatechannel
=
$val
;
}
}
}
close
(
CONFIG
);
}
for
(
my
$i
=
0
;
$i
<=
$#
{
$itemsarrayref
};
$i
++
)
for
(
my
$i
=
0
;
$i
<=
$#
{
$itemsarrayref
};
$i
++
)
{
{
my
$oneitem
=
$
{
$itemsarrayref
}[
$i
];
my
$oneitem
=
$
{
$itemsarrayref
}[
$i
];
...
@@ -669,6 +689,7 @@ sub replace_setup_variables
...
@@ -669,6 +689,7 @@ sub replace_setup_variables
$value
=~
s/\<alllanguages\>/$languagesstring/
;
$value
=~
s/\<alllanguages\>/$languagesstring/
;
$value
=~
s/\<sourceid\>/$installer::globals::build/
;
$value
=~
s/\<sourceid\>/$installer::globals::build/
;
$value
=~
s/\<updateid\>/$updateid/
;
$value
=~
s/\<updateid\>/$updateid/
;
$value
=~
s/\<updatechannel\>/$updatechannel/
;
$value
=~
s/\<pkgformat\>/$installer::globals::packageformat/
;
$value
=~
s/\<pkgformat\>/$installer::globals::packageformat/
;
$ENV
{
'OOO_VENDOR'
}
=
""
if
!
defined
$ENV
{
'OOO_VENDOR'
};
$ENV
{
'OOO_VENDOR'
}
=
""
if
!
defined
$ENV
{
'OOO_VENDOR'
};
$value
=~
s/\<vendor\>/$ENV{'OOO_VENDOR'}/
;
$value
=~
s/\<vendor\>/$ENV{'OOO_VENDOR'}/
;
...
...
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