2024-02-05 19:54:17 +01:00
|
|
|
#!/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
|
|
|
|
|
2024-02-05 19:54:17 +01:00
|
|
|
# Chromium
|
|
|
|
mkdir -p /etc/opt/chromium/policies/managed
|
2024-03-27 15:43:17 +01:00
|
|
|
mkdir -p /etc/opt/chromium/policies/recommended
|
2024-02-05 19:54:17 +01:00
|
|
|
|
|
|
|
# Brave
|
2024-02-06 10:43:45 +01:00
|
|
|
ln -siv /etc/opt/chromium /etc/brave
|
2024-02-05 19:54:17 +01:00
|
|
|
|
|
|
|
# Vivaldi
|
2024-02-06 10:43:45 +01:00
|
|
|
ln -siv /etc/opt/chromium /etc/chromium
|
2024-02-05 19:54:17 +01:00
|
|
|
|
|
|
|
# Google Chrome
|
2024-02-06 10:43:45 +01:00
|
|
|
ln -siv /etc/opt/chromium /etc/opt/chrome
|
2024-02-05 19:54:17 +01:00
|
|
|
|
|
|
|
# Microsoft Edge
|
2024-02-06 10:43:45 +01:00
|
|
|
ln -siv /etc/opt/chromium /etc/opt/edge
|
2024-02-05 19:54:17 +01:00
|
|
|
|
|
|
|
set +x
|