0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 05:33:03 -05:00

changed to using Settings as a submodule

This commit is contained in:
Bert van der Weerd 2022-01-24 12:57:44 +01:00
parent ac6b20c699
commit 554e896e29
No known key found for this signature in database
GPG key ID: 4CFABB96ADE0F5B1
3 changed files with 11 additions and 8 deletions

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "submodules/settings"]
path = submodules/settings
url = git@gitlab.com:librewolf-community/settings.git

View file

@ -112,16 +112,15 @@ def librewolf_patches():
exec('mkdir -p lw')
##! [non-reproducible] This is the moment in time we grab the Settings repo HEAD revision
exec('git clone https://gitlab.com/librewolf-community/settings.git')
exec("cp -v settings/defaults/pref/local-settings.js lw/")
exec("cp -v settings/distribution/policies.json lw/")
exec("cp -v settings/librewolf.cfg lw/")
exec('rm -rf settings')
# getting the librewolf settings repository
exec("cp -v ../submodules/settings/defaults/pref/local-settings.js lw/")
exec("cp -v ../submodules/settings/distribution/policies.json lw/")
exec("cp -v ../submodules/settings/librewolf.cfg lw/")
# provide a script that fetches and bootstraps Nightly and some mozconfigs
exec('cp -v ../scripts/mozfetch.sh lw')
exec('cp -v ../assets/mozconfig.new ../assets/mozconfig.new.without-wasi ../scripts/setup-wasi-linux.sh lw')
exec('cp -v ../scripts/mozfetch.sh lw/')
exec('cp -v ../assets/mozconfig.new ../assets/mozconfig.new.without-wasi ../scripts/setup-wasi-linux.sh lw/')
# override the firefox version
for file in ["browser/config/version.txt", "browser/config/version_display.txt"]:

1
submodules/settings Submodule

@ -0,0 +1 @@
Subproject commit c256656f377d3c15a8c7537c65f45dc802904df7