shell-things/etc/init-browser-policies.bash

29 lines
657 B
Bash
Raw Normal View History

#!/usr/bin/env bash
# This script will create the direcories or symlinks that browsers look for
# their policies. The user is trusted to setup those manually.
set -x
# Firefox and LibreWolf (caution! https://codeberg.org/librewolf/issues/issues/1767)
mkdir -p /etc/firefox/policies
#touch /etc/firefox/policies/policies.json
2024-02-14 10:25:44 +01:00
# Firefox ESR
ln -siv /etc/firefox /etc/firefox-esr
# Chromium
mkdir -p /etc/opt/chromium/policies/managed
# Brave
ln -siv /etc/opt/chromium /etc/brave
# Vivaldi
ln -siv /etc/opt/chromium /etc/chromium
# Google Chrome
ln -siv /etc/opt/chromium /etc/opt/chrome
# Microsoft Edge
ln -siv /etc/opt/chromium /etc/opt/edge
set +x