aboutsummaryrefslogtreecommitdiff
path: root/browser
diff options
context:
space:
mode:
authorBeatLink <beatlink@protonmail.com>2019-06-30 18:47:18 -0500
committerBeatLink <beatlink@protonmail.com>2019-06-30 18:47:18 -0500
commit06524257d053ab6dee59823567bb94297dad2665 (patch)
treeed01cfb504608a84180565c922fe55d97d7bfaf0 /browser
parentMove settings one level up (diff)
downloadlibrewolf-linux-06524257d053ab6dee59823567bb94297dad2665.tar.gz
librewolf-linux-06524257d053ab6dee59823567bb94297dad2665.tar.bz2
librewolf-linux-06524257d053ab6dee59823567bb94297dad2665.zip
Move settings scripts to dedicated folder in linux section
Will be automatically added to settings folder via script during build Scripts are currently broken, do not use
Diffstat (limited to 'browser')
-rwxr-xr-xbrowser/linux/resources/settings_scripts/disable_settings.sh6
-rwxr-xr-xbrowser/linux/resources/settings_scripts/enable_settings.sh7
2 files changed, 13 insertions, 0 deletions
diff --git a/browser/linux/resources/settings_scripts/disable_settings.sh b/browser/linux/resources/settings_scripts/disable_settings.sh
new file mode 100755
index 0000000..8fc23ac
--- /dev/null
+++ b/browser/linux/resources/settings_scripts/disable_settings.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+mv ./defaults/pref/local-settings.js ./settings/defaults/pref/local-settings.js;
+mv ./distribution/policies.json ./settings/distribution/policies.json;
+mv ./librewolf.cfg ./settings/librewolf.cfg;
+
diff --git a/browser/linux/resources/settings_scripts/enable_settings.sh b/browser/linux/resources/settings_scripts/enable_settings.sh
new file mode 100755
index 0000000..adfeb9c
--- /dev/null
+++ b/browser/linux/resources/settings_scripts/enable_settings.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+cp -r ./defaults/pref/local-settings.js ../
+cp -r ./distribution/policies.json
+
+
+cp -r ./../* ./
bgstack15