0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2025-01-03 11:20:11 -05:00

now taking the settings from Codeberg

This commit is contained in:
Bert van der Weerd 2023-08-17 22:03:56 +02:00
parent 7b70965bf0
commit 69e00a1488
No known key found for this signature in database
GPG key ID: 73370A0B9E5516B0

View file

@ -106,16 +106,18 @@ def librewolf_patches():
# we don't want to disturbe those workflows. # we don't want to disturbe those workflows.
patch('../patches/xmas.patch') patch('../patches/xmas.patch')
# #
# Create the 'lw' folder, it contains the librewolf.cfg and policies.json files. # Apply most recent `settings` repository files.
# #
#exec('mkdir -p lw') exec('mkdir -p lw')
enter_srcdir('lw')
exec('wget -q https://codeberg.org/librewolf/settings/raw/branch/master/librewolf.cfg')
exec('wget -q https://codeberg.org/librewolf/settings/raw/branch/master/distribution/policies.json')
exec('wget -q https://codeberg.org/librewolf/settings/raw/branch/master/defaults/pref/local-settings.js')
leave_srcdir();
# 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 # provide a script that fetches and bootstraps Nightly and some mozconfigs