aboutsummaryrefslogtreecommitdiff
path: root/settings/enable_settings.sh
blob: 23533b6fede976965907748bb0d27b1baa42892a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
# Copies settings from the settings folder to the main program folder, enabling them

SETTINGS_FOLDER=$(realpath $(dirname $0));
PROGRAM_FOLDER=$SETTINGS_FOLDER/../;

mkdir -p $PROGRAM_FOLDER/defaults/pref/;
mkdir -p $PROGRAM_FOLDER/distribution/;

cp $SETTINGS_FOLDER/defaults/pref/local-settings.js $PROGRAM_FOLDER/defaults/pref/local-settings.js;
cp $SETTINGS_FOLDER/distribution/policies.json      $PROGRAM_FOLDER/distribution/policies.json;
cp $SETTINGS_FOLDER/librewolf.cfg                   $PROGRAM_FOLDER/librewolf.cfg;
bgstack15